My configuration. Probably nothing to look for here.
cb398ebff3
Flake lock file updates: • Updated input 'nur': 'github:nix-community/NUR/93d9e3ea11110b392a313a7568b830570314fe3c?narHash=sha256-2SGa/zt8L3VnYIOXZ22tyKtyqfrHKp8VvwvBBhipBlY%3D' (2024-12-24) → 'github:nix-community/NUR/76a7bc7f0cde12611fd4bd720e8d3ffd48772fe2?narHash=sha256-mbaC0wtoHF7msHk/URWp%2Ba5avfT/R33R%2B0uzg%2B2p6zI%3D' (2024-12-25) • Updated input 'zig': 'github:mitchellh/zig-overlay/fb9bc7cd50913b741f1d66aedca8a07583cc5f53?narHash=sha256-C73hSei9ly%2B/BMXWqAaMJdG/r%2BqZWzSbwqfSTsEtdv4%3D' (2024-12-23) → 'github:mitchellh/zig-overlay/bc4fd6e14e166769839bc0085803b8c21771750d?narHash=sha256-I%2BORk8or5eEBdK/2VEL2jDqBmV/sWaRsHTqr%2BDrEvdI%3D' (2024-12-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