My configuration. Probably nothing to look for here.
29149d89b1
Flake lock file updates: • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/2e9e582f93c56602a3c0f187f631cbee3621f51c?narHash=sha256-ErxK8YV3BN5IlDaXafqjOMjOluSpkDbe/AdEyo3mnDg%3D' (2024-12-17) → 'github:NixOS/nixpkgs/b47fd6fa00c6afca88b8ee46cfdb00e104f50bca?narHash=sha256-nbG9TijTMcfr%2Bau7ZVbKpAhMJzzE2nQBYmRvSdXUD8g%3D' (2024-12-19) • Updated input 'nur': 'github:nix-community/NUR/f5a56f2050f25fc5770d80f2dbbb676a9a0460c7?narHash=sha256-pVDY98AKWUrbFU4km9YPcg3BOsj8mkypa6mdUhG3GP8%3D' (2024-12-20) → 'github:nix-community/NUR/74ae5912365c3f7d0a91fac47641fb8394b9452b?narHash=sha256-x/efknzMwy/yJGdGCrw8O4XRIPBXOD2cAMvSpoi2Clg%3D' (2024-12-21) • Updated input 'zig': 'github:mitchellh/zig-overlay/5306ee0e3282288e839107b9b03e0c49fcc253b4?narHash=sha256-TU1qfA6nZGF1DJEuojVuyfXMfykh8TfgysieEHAh8c8%3D' (2024-12-19) → 'github:mitchellh/zig-overlay/956fa2f98490537625f582122b6f7f8adabf9686?narHash=sha256-5YsE/uxeHJSa1S86553fgjjYDRJl7iLs41cSSXW/K04%3D' (2024-12-21) |
||
---|---|---|
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