My configuration. Probably nothing to look for here.
![]() Flake lock file updates: • Updated input 'nixos-hardware': 'github:NixOS/nixos-hardware/2eccff41bab80839b1d25b303b53d339fbb07087?narHash=sha256-5yRlg48XmpcX5b5HesdGMOte%2BYuCy9rzQkJz%2Bimcu6I%3D' (2025-02-06) → 'github:NixOS/nixos-hardware/3e2ea8a49d4d76276b0f4e2041df8ca5c0771371?narHash=sha256-GyipmjbbQEaosel/%2Bwq1xihCKbv0/e1LU00x/8b/fP4%3D' (2025-02-17) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/a60651b217d2e529729cbc7d989c19f3941b9250?narHash=sha256-f84lBmLl4tkDp1ZU5LBTSFzlxXP4926DVW3KnXrke10%3D' (2025-02-15) → 'github:NixOS/nixpkgs/c618e28f70257593de75a7044438efc1c1fc0791?narHash=sha256-uq6A2L7o1/tR6VfmYhZWoVAwb3gTy7j4Jx30MIrH0rE%3D' (2025-02-17) • Updated input 'nixpkgs-unstable': 'github:NixOS/nixpkgs/8bb37161a0488b89830168b81c48aed11569cb93?narHash=sha256-%2B/bSz4EAVbqz8/HsIGLroF8aNaO8bLRL7WfACN%2B24g4%3D' (2025-02-15) → 'github:NixOS/nixpkgs/d74a2335ac9c133d6bbec9fc98d91a77f1604c1f?narHash=sha256-zON2GNBkzsIyALlOCFiEBcIjI4w38GYOb%2BP%2BR4S8Jsw%3D' (2025-02-16) • Updated input 'nur': 'github:nix-community/NUR/9eb607bbf306793ffa93e298e5a40cc5f6c9562a?narHash=sha256-nhgO7f11RhuQ9lMILe349n9Y%2BDc3aOxeJsEDcaPqClk%3D' (2025-02-17) → 'github:nix-community/NUR/74bd5a7059a305f5b12204d03138b4b5d5b35df5?narHash=sha256-H0Q5UmCzYtEQosqarEEZ%2B8Onhj6f2IKSLxK7nk8GIT8%3D' (2025-02-18) • Updated input 'nur/nixpkgs': 'github:nixos/nixpkgs/8bb37161a0488b89830168b81c48aed11569cb93?narHash=sha256-%2B/bSz4EAVbqz8/HsIGLroF8aNaO8bLRL7WfACN%2B24g4%3D' (2025-02-15) → 'github:nixos/nixpkgs/d74a2335ac9c133d6bbec9fc98d91a77f1604c1f?narHash=sha256-zON2GNBkzsIyALlOCFiEBcIjI4w38GYOb%2BP%2BR4S8Jsw%3D' (2025-02-16) • Updated input 'zig': 'github:mitchellh/zig-overlay/9d0e7f255ceb83c28c3c2520e6bb85c7ac876e94?narHash=sha256-RhA530oPxush32wd3pfWLYJ7sDCHyOJu1m5oTqZUJnY%3D' (2025-02-17) → 'github:mitchellh/zig-overlay/b1190ae3077baed223b79e54c0164dd51e63631a?narHash=sha256-3Oa3IXDVWMSIaaRNgusJNSzVDj0uCb2fZXChS0jnUq0%3D' (2025-02-18) |
||
---|---|---|
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