My configuration. Probably nothing to look for here.
Deployerbot Main
59889451d3
Flake lock file updates: • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/aeefe2054617cae501809b82b44a8e8f7be7cc4b' (2023-11-05) → 'github:NixOS/nixpkgs/41de143fda10e33be0f47eab2bfe08a50f234267' (2023-11-06) • Updated input 'nur': 'github:nix-community/NUR/14043a341dad8916008136df9647f092246e955f' (2023-11-06) → 'github:nix-community/NUR/7b7f05a1669f4552b22490b271683dd0f0d0833a' (2023-11-07) • Updated input 'zigpkgs': 'github:mitchellh/zig-overlay/4f234f098caec4b0e467b2cdfd0815724549b51d' (2023-11-05) → 'github:mitchellh/zig-overlay/4fa1524ef75aff068f4e6289b1583a715e405d75' (2023-11-07) |
||
---|---|---|
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