My configuration. Probably nothing to look for here.
Deployerbot Main
2545f6ccb1
Flake lock file updates: • Updated input 'agenix': 'github:ryantm/agenix/1f677b3e161d3bdbfd08a939e8f25de2568e0ef4' (2023-09-22) → 'github:ryantm/agenix/daf42cb35b2dc614d1551e37f96406e4c4a2d3e4' (2023-10-08) • Updated input 'nix-index-database': 'github:Mic92/nix-index-database/031d4b22505fdea47bd53bfafad517cd03c26a4f' (2023-10-01) → 'github:Mic92/nix-index-database/2902dc66f64f733bfb45754e984e958e9fe7faf9' (2023-10-08) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/8a4c17493e5c39769f79117937c79e1c88de6729' (2023-10-03) → 'github:NixOS/nixpkgs/5a237aecb57296f67276ac9ab296a41c23981f56' (2023-10-07) • Updated input 'nur': 'github:nix-community/NUR/dc890e97efbfeb0294fa5ac8ed12cd3e9cd7b65a' (2023-10-07) → 'github:nix-community/NUR/e59a27dcfd30d62a5927fe9f89c273cc15d09c47' (2023-10-08) • Updated input 'pre-commit-hooks': 'github:cachix/pre-commit-hooks.nix/66c352d33e0907239e4a69416334f64af2c685cc' (2023-10-05) → 'github:cachix/pre-commit-hooks.nix/8edf336c5ca85efe20004d076747f91b85a6d087' (2023-10-08) |
||
---|---|---|
hosts | ||
modules | ||
secrets | ||
shared/home | ||
.envrc | ||
.gitattributes | ||
.gitignore | ||
data.nix | ||
flake.lock | ||
flake.nix | ||
LICENSE | ||
nixpkgs.nix | ||
README.md | ||
secrets.nix | ||
statix.toml | ||
yubikey-installer.nix |
Config
Flakes:
$ deploy --interactive '#vno1-oh2'
$ nix build .#deploy.nodes.fra1-a.profiles.system.path
Other:
$ nix build .#nixosConfigurations.vno3-rp3b.config.system.build.toplevel
Debug
$ nix eval .#nixosConfigurations.vno1-oh2.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