My configuration. Probably nothing to look for here.
Deployerbot Main
3f9b9f2005
Flake lock file updates: • Updated input 'nur': 'github:nix-community/NUR/9756e1825faf0cf73d8169bbdc556f7de2ae43f4' (2023-10-16) → 'github:nix-community/NUR/641022140ba8b6339d9f39bc13dd81aa4ac0f0e7' (2023-10-17) • Updated input 'zigpkgs': 'github:mitchellh/zig-overlay/767f391c74c9baea7d356ed8158cae468ae10baf' (2023-10-16) → 'github:mitchellh/zig-overlay/02bddf965e12cd1224828152911943820665e651' (2023-10-17) |
||
---|---|---|
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