My configuration. Probably nothing to look for here.
Deployerbot Main
7f4049e4e1
Flake lock file updates: • Updated input 'nur': 'github:nix-community/NUR/df58b9d0adefdf06e7ecb3755c5497142e89b1f9' (2023-10-23) → 'github:nix-community/NUR/8ea003a1d3e54c1e814e21f5d8a78f9c3c1946e3' (2023-10-24) • Updated input 'zigpkgs': 'github:mitchellh/zig-overlay/7fd03894c3e68704f8107612ff812318b9824ff2' (2023-10-23) → 'github:mitchellh/zig-overlay/d5a4ea452cece631ea61e8507614d3b0a4eb9bdc' (2023-10-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