My configuration. Probably nothing to look for here.
Deployerbot Main
64b7bb145d
Flake lock file updates: • Updated input 'nixos-hardware': 'github:NixOS/nixos-hardware/61283b30d11f27d5b76439d43f20d0c0c8ff5296' (2023-09-24) → 'github:NixOS/nixos-hardware/adcfd6aa860d1d129055039696bc457af7d50d0e' (2023-09-28) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/261abe8a44a7e8392598d038d2e01f7b33cf26d0' (2023-09-24) → 'github:NixOS/nixpkgs/5cfafa12d57374f48bcc36fda3274ada276cf69e' (2023-09-27) • Updated input 'nur': 'github:nix-community/NUR/89e685d13d231f644cf82f7181e85393019a426a' (2023-09-27) → 'github:nix-community/NUR/9d327787205152b244a4a23b319f932cea7a010f' (2023-09-28) |
||
---|---|---|
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