My configuration. Probably nothing to look for here.
Deployerbot Main
8a1c9e2210
Flake lock file updates: • Updated input 'deploy-rs': 'github:serokell/deploy-rs/31c32fb2959103a796e07bbe47e0a5e287c343a8' (2023-09-12) → 'github:serokell/deploy-rs/e3f41832680801d0ee9e2ed33eb63af398b090e9' (2023-09-18) • Updated input 'nixos-hardware': 'github:NixOS/nixos-hardware/570256327eb6ca6f7bebe8d93af49459092a0c43' (2023-09-14) → 'github:NixOS/nixos-hardware/161b027169b19d3a0ad6bd0a8948edf0c0fb0f64' (2023-09-18) • Updated input 'nur': 'github:nix-community/NUR/be3a4f17cfa20272e1c179a1659843626b0d86c3' (2023-09-17) → 'github:nix-community/NUR/e57ad2a4d59c577780da709180c36304a1d8106c' (2023-09-18) |
||
---|---|---|
hosts | ||
modules | ||
secrets | ||
.envrc | ||
.gitattributes | ||
.gitignore | ||
data.nix | ||
flake.lock | ||
flake.nix | ||
LICENSE | ||
nixpkgs.nix | ||
README.md | ||
secrets.nix | ||
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
Debug
$ 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