My configuration. Probably nothing to look for here.
d04b230146
Flake lock file updates: • Updated input 'nix-index-database': 'github:Mic92/nix-index-database/b6db9fd8dc59bb2ccb403f76d16ba8bbc1d5263d' (2024-07-21) → 'github:Mic92/nix-index-database/c0ca47e8523b578464014961059999d8eddd4aae' (2024-07-28) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/a1cc729dcbc31d9b0d11d86dc7436163548a9665' (2024-07-25) → 'github:NixOS/nixpkgs/8c50662509100d53229d4be607f1a3a31157fa12' (2024-07-27) • Updated input 'nur': 'github:nix-community/NUR/f15804f8826fcc76e8bee5beafe48bf8dee04051' (2024-07-27) → 'github:nix-community/NUR/f74526a42c8a2ec2ed5b546c3504cbc105f39999' (2024-07-28) |
||
---|---|---|
hosts | ||
modules | ||
pkgs | ||
secrets | ||
shared | ||
.envrc | ||
.gitattributes | ||
.gitignore | ||
data.nix | ||
flake.lock | ||
flake.nix | ||
LICENSE | ||
README.md | ||
secrets.nix | ||
statix.toml |
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 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