My configuration. Probably nothing to look for here.
3c7dfe3cac
Flake lock file updates: • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/d49da4c08359e3c39c4e27c74ac7ac9b70085966?narHash=sha256-MgdXpeX2GuJbtlBrH9EdsUeWl/yXEubyvxM1G%2ByO4Ak%3D' (2024-12-27) → 'github:NixOS/nixpkgs/9f94733f93e4fe6e82f516efae007096e4ab5a21?narHash=sha256-Qoz0ow6jDGUIBHxduc7Y1cjYFS71tvEGJV5Src/mj98%3D' (2024-12-28) • Updated input 'nur': 'github:nix-community/NUR/e70956e3498c04d5340cb34c17c2d35eb76e6dc8?narHash=sha256-dMkfagk%2B%2BsDGycJQgXV0dBaYvnKXrdeU0hK3QQnAY1s%3D' (2024-12-29) → 'github:nix-community/NUR/c0fb7f9ca5cf5af6453f99bbd26e4f98017c0061?narHash=sha256-Uh4JrvT18DmgLZdyqhg6xZ89zLs8HL4k6v4HTAS6piQ%3D' (2024-12-30) |
||
---|---|---|
hosts | ||
modules | ||
pkgs | ||
secrets | ||
shared | ||
.envrc | ||
.gitattributes | ||
.gitignore | ||
data.nix | ||
flake.lock | ||
flake.nix | ||
LICENSE | ||
README.md | ||
secrets.nix |
Config
Flakes:
$ deploy --interactive '#fwminex'
$ nix build .#deploy.nodes.fra1-b.profiles.system.path
Other:
$ nix build .#nixosConfigurations.vno3-rp3b.config.system.build.toplevel
$ nix eval .#nixosConfigurations.fwminex.config.services.nsd
Encoding host-only secrets
Encode a secret on host:
rage -e -r "$(cat /etc/ssh/ssh_host_ed25519_key.pub)" -o secret.age /path/to/plaintext
Decode a secret on host (to test things out):
rage -d -i /etc/ssh/ssh_host_ed25519_key secret.age
Borg
BORG_PASSCOMMAND="cat /run/agenix/borgbackup-fwminex" borg --remote-path=borg1 list zh2769@zh2769.rsync.net:fwminex.servers.jakst-home-motiejus-annex2