My configuration. Probably nothing to look for here.
![]() Flake lock file updates: • Updated input 'nur': 'github:nix-community/NUR/28d3daa92d92a61134fba2cddcd85e80d83fc0ad?narHash=sha256-o8Uh5%2B5DbEuwoaYo1d9G0mLyIQ6LcN4GcWpOvdoZIMY%3D' (2025-03-27) → 'github:nix-community/NUR/24373c950c3c4757c64e9567391bcac0996c5c08?narHash=sha256-S7wG4Rq0BVNVfZWiJzX0cNw4fA1WEvHVYyojISJF1io%3D' (2025-03-28) • Updated input 'zig': 'github:mitchellh/zig-overlay/d0fee3c445db41d5562925d2f44c971dcfe5b647?narHash=sha256-870ME2MCjjrbg6qxe/IaLzhfZs3rKkFjLTg6ntwLiyU%3D' (2025-03-27) → 'github:mitchellh/zig-overlay/724b767001ab77ffdc80420862800be3f618d083?narHash=sha256-wlZ383euYC%2BhiXHYBVLrP/4R0rIxaRs7HKajIODaspk%3D' (2025-03-28) |
||
---|---|---|
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.jakst.vpn-home-motiejus-annex2