My configuration. Probably nothing to look for here.
Deployerbot Main
a20b24b6a3
Flake lock file updates: • Updated input 'nur': 'github:nix-community/NUR/25fedce20d4b0671adeefa9d52f6b69079af84c0' (2023-10-13) → 'github:nix-community/NUR/00cf27339d55115a0f5311041dded91049e4426d' (2023-10-14) • Updated input 'zigpkgs': 'github:mitchellh/zig-overlay/2d779a7657e346323ab048b218994dbdc42655d7' (2023-10-13) → 'github:mitchellh/zig-overlay/ee376d4012e3c853123ca7083af852313235407c' (2023-10-14) |
||
---|---|---|
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