My configuration. Probably nothing to look for here.
f3ae248185
Flake lock file updates: • Updated input 'nixos-hardware': 'github:NixOS/nixos-hardware/7c674c6734f61157e321db595dbfcd8523e04e19?narHash=sha256-e5IOgjQf0SZcFCEV/gMGrsI0gCJyqOKShBQU0iiM3Kg%3D' (2024-12-28) → 'github:NixOS/nixos-hardware/3713545aca79365cba20d7873b6e51044890b4e8?narHash=sha256-8YT/8TMwWRRYFiLWMS98wPW50YBwYeErX7nQ7EmSaVA%3D' (2025-01-07) • Updated input 'nur': 'github:nix-community/NUR/bf8f7e8d409f70068bb71bb2ed5de0dcf6bc95b3?narHash=sha256-B3A1cFfk2vq1zhkSBbnOpVW%2BkA7H5PVxv9FbPJWH8wQ%3D' (2025-01-06) → 'github:nix-community/NUR/5476a3ef040e48e613e2913c3d142bbd9c65baa5?narHash=sha256-/zEQmNQqF4DQ6VORWMpqO66nu3kLDR%2BrPQIF287BsTo%3D' (2025-01-07) • Updated input 'zig': 'github:mitchellh/zig-overlay/6e8d9aa1984801e44140290d336e7b9fbe49c4b4?narHash=sha256-j1k1Z4YlxWAdYyXZML2fGhKfueZ9J0Tz8x0U853dhu4%3D' (2025-01-06) → 'github:mitchellh/zig-overlay/10126ddc6141caf4028cd1c2bc85716aec30d50c?narHash=sha256-Qq44polY9elCZUnE38ykyBxb8QuPhNywm37COvlVkkA%3D' (2025-01-07) |
||
---|---|---|
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