Motiejus Jakštys
56e5d4e484
Flake lock file updates: • Updated input 'nix-index-database': 'github:Mic92/nix-index-database/2902dc66f64f733bfb45754e984e958e9fe7faf9' (2023-10-08) → 'github:Mic92/nix-index-database/29977d0796c058bbcfb2df5b18eb5badf1711007' (2023-10-15) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/bd1cde45c77891214131cbbea5b1203e485a9d51' (2023-10-11) → 'github:NixOS/nixpkgs/898cb2064b6e98b8c5499f37e81adbdf2925f7c5' (2023-10-13) • Updated input 'nur': 'github:nix-community/NUR/00cf27339d55115a0f5311041dded91049e4426d' (2023-10-14) → 'github:nix-community/NUR/5d77923d18bdc1333ce766adbb507fced46dbab7' (2023-10-16) • Updated input 'zigpkgs': 'github:mitchellh/zig-overlay/ee376d4012e3c853123ca7083af852313235407c' (2023-10-14) → 'github:mitchellh/zig-overlay/767f391c74c9baea7d356ed8158cae468ae10baf' (2023-10-16) |
||
---|---|---|
hosts | ||
modules | ||
secrets | ||
shared/home | ||
.envrc | ||
.gitattributes | ||
.gitignore | ||
LICENSE | ||
README.md | ||
data.nix | ||
flake.lock | ||
flake.nix | ||
nixpkgs.nix | ||
secrets.nix | ||
statix.toml | ||
yubikey-installer.nix |
README.md
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