My configuration. Probably nothing to look for here.
Deployerbot Main
f5277c59d3
Flake lock file updates: • Updated input 'nixpkgs-unstable': 'github:NixOS/nixpkgs/e44462d6021bfe23dfb24b775cc7c390844f773d' (2023-11-12) → 'github:NixOS/nixpkgs/bf744fe90419885eefced41b3e5ae442d732712d' (2023-11-14) • Updated input 'nur': 'github:nix-community/NUR/49a6f64d2b6dcba38a8fb2312315c13e3fe488f1' (2023-11-15) → 'github:nix-community/NUR/04d24fb0e6258af7bbe51b29308e670de81a7d2f' (2023-11-16) • Updated input 'zigpkgs': 'github:mitchellh/zig-overlay/d1c3636b458fc49d530dcf0e98bc569345e59fc4' (2023-11-15) → 'github:mitchellh/zig-overlay/c485123811c011fe54bae2df5f8a17e1169dab65' (2023-11-16) |
||
---|---|---|
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