My configuration. Probably nothing to look for here.
ebdcd832e4
Flake lock file updates: • Updated input 'nixos-hardware': 'github:NixOS/nixos-hardware/b09c46430ffcf18d575acf5c339b38ac4e1db5d2' (2024-08-19) → 'github:NixOS/nixos-hardware/1c84c314db42dd40ed6cf9293b9451ec2e7ebee4' (2024-08-24) • Updated input 'nur': 'github:nix-community/NUR/32938b2196ffbd94c848d0ebab5a027829c3080e' (2024-08-23) → 'github:nix-community/NUR/8d2b7282e3d68eddbcb9832f2738811daa98f565' (2024-08-24) |
||
---|---|---|
hosts | ||
modules | ||
pkgs | ||
secrets | ||
shared | ||
.envrc | ||
.gitattributes | ||
.gitignore | ||
data.nix | ||
flake.lock | ||
flake.nix | ||
LICENSE | ||
README.md | ||
secrets.nix |
Config
Flakes:
$ deploy --interactive '#fwminex'
$ nix build .#deploy.nodes.fra1-b.profiles.system.path
Other:
$ nix build .#nixosConfigurations.vno3-rp3b.config.system.build.toplevel
$ nix eval .#nixosConfigurations.fwminex.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