My configuration. Probably nothing to look for here.
218660ab61
Flake lock file updates: • Updated input 'home-manager': 'github:nix-community/home-manager/f8831cc700030e11fc91da9ef6270593e6440edc?narHash=sha256-wpmPl6FkAF9Jj5C/rzANgpUjfzQrUYOn267LnzKU2uI%3D' (2024-11-22) → 'github:nix-community/home-manager/f3111f62a23451114433888902a55cf0692b408d?narHash=sha256-T1e5oceypZu3Q8vzICjv1X/sGs9XfJRMW5OuXHgpB3c%3D' (2024-11-24) • Updated input 'nix-index-database': 'github:Mic92/nix-index-database/0ef970b7021e0ee9ab93437d0e28296e86669b03?narHash=sha256-TjuKScXbj4Ddr0L%2BkEOLFaYOhzbS/k/EFL543wkjN5E%3D' (2024-11-24) → 'github:Mic92/nix-index-database/bedc30c64442579943c1c6e7579db263d810884f?narHash=sha256-3SMxtkXlmzPmF4NXCt6lLF2IkdyAmO824PlScUKVhB0%3D' (2024-11-24) • Updated input 'nixos-hardware': 'github:NixOS/nixos-hardware/672ac2ac86f7dff2f6f3406405bddecf960e0db6?narHash=sha256-UhWmEZhwJZmVZ1jfHZFzCg%2BZLO9Tb/v3Y6LC0UNyeTo%3D' (2024-11-16) → 'github:NixOS/nixos-hardware/45348ad6fb8ac0e8415f6e5e96efe47dd7f39405?narHash=sha256-kF6rDeCshoCgmQz%2B7uiuPdREVFuzhIorGOoPXMalL2U%3D' (2024-11-24) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/057f63b6dc1a2c67301286152eb5af20747a9cb4?narHash=sha256-v5P3dk5JdiT%2B4x69ZaB18B8%2BRcu3TIOrcdG4uEX7WZ8%3D' (2024-11-16) → 'github:NixOS/nixpkgs/0c582677378f2d9ffcb01490af2f2c678dcb29d3?narHash=sha256-GcOQbOgmwlsRhpLGSwZJwLbo3pu9ochMETuRSS1xpz4%3D' (2024-11-23) • Updated input 'nur': 'github:nix-community/NUR/86dd7c6cbc3f3994e3e04c46bd9fce3898745d12?narHash=sha256-NZLJGnPKIfQ5iggi89/kin2kh7JJOBAG8mbC2O/pe2Q%3D' (2024-11-24) → 'github:nix-community/NUR/3713e47855a644d534b556be42458326bef6cbe0?narHash=sha256-qspvlvHSR0Jgl8QsraMNQLFGu/Hv24%2BSwB2W8cB1dqU%3D' (2024-11-25) • Updated input 'zig': 'github:mitchellh/zig-overlay/993ce9f1e7c40e62d30d2aaee23742f795db434c?narHash=sha256-5eSxwH5%2ByPGg8kRX%2B4y4VIKMwny9voZhR3HHk/zIsZM%3D' (2024-11-23) → 'github:mitchellh/zig-overlay/b7f09ab4c8316833ed54f942d7a4a6d296554aa4?narHash=sha256-4tiWciev4g2Pxz5qrWooDBVIxqtIvIhoYNycMuHyHQ0%3D' (2024-11-25) |
||
---|---|---|
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
Borg
BORG_PASSCOMMAND="cat /run/agenix/borgbackup-fwminex" borg --remote-path=borg1 list zh2769@zh2769.rsync.net:fwminex.servers.jakst-home-motiejus-annex2