My configuration. Probably nothing to look for here.
Deployerbot Main
efea252d36
Flake lock file updates: • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/0c5678df521e1407884205fe3ce3cf1d7df297db' (2023-11-19) → 'github:NixOS/nixpkgs/f741f8a839912e272d7e87ccf4b9dbc6012cdaf9' (2023-11-20) • Updated input 'nur': 'github:nix-community/NUR/73a121a8cef922a2f65898af1953c206757589e1' (2023-11-21) → 'github:nix-community/NUR/36f6762053dcc282923bda47de2582e2b7c5c878' (2023-11-22) • Updated input 'zigpkgs': 'github:mitchellh/zig-overlay/2877b025231e96196469ee8a5b80799027b42e03' (2023-11-21) → 'github:mitchellh/zig-overlay/f7a7dc4699f7342e5a61e65de6756952fbac3d8f' (2023-11-22) |
||
---|---|---|
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