My configuration. Probably nothing to look for here.
Deployerbot Main
3cbc9f88ae
Flake lock file updates: • Updated input 'nur': 'github:nix-community/NUR/51550286889673bab46f823306d2aa36fe7bffb4' (2023-11-23) → 'github:nix-community/NUR/ebf2c68214f10ee5b9372ae4960a7b54af514bd3' (2023-11-24) • Updated input 'zigpkgs': 'github:mitchellh/zig-overlay/398de0245516fafb076f118ca90bcbcc7b0a238d' (2023-11-23) → 'github:mitchellh/zig-overlay/2c9179e22a4759c7c88438a4a9eb0f5e3c00d3b0' (2023-11-24) |
||
---|---|---|
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
$ nix build .#homeConfigurations.x86_64-linux.motiejusja.activationPackage
$ 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