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