My dotfiles
My dotfiles for which I am using nix
.
The structure is managed by Snowfall lib
Machine selection
home-manager
automatically searches for user
or user@hostname
config in the flake, so specify one of those or you will have to manually specify them:
home-manager switch --flake .#user@hostname
Manual symlinks
/julian/dotfiles/src/branch/master/laptop-nix.conf was manually symlinked to file:/etc/nix/nix.conf and /julian/dotfiles/src/branch/master/flake.nix was symlinked to file:~/.config/home-manager/flake.nix
For deployment!!
Secrets management with sops
Full documentation here: https://github.com/Mic92/sops-nix
Edit secrets
sops edit secrets/secrets.yaml
Authorize new device
- Generate public key from ssh -> Private age key generation not needed
ssh-to-age < /etc/ssh/ssh_host_ed25519_key
- Add age public key to file:.sops.yaml
- Update keys
sops updatekeys secrets/*
Description
Languages
Nix
85.4%
Shell
11.4%
Python
1.8%
CSS
1.4%