My configuration. Probably nothing to look for here.
Go to file
Deployerbot Main 5159ca23ac flake.lock: Update
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)
2025-02-18 07:00:29 +00:00
hosts nginx: redirect mis-opened http:8443 to https 2025-02-18 05:58:36 +02:00
modules motion: set to 5 fps 2025-02-16 23:40:05 +02:00
pkgs gamja comment 2025-02-05 20:22:47 +00:00
secrets r1: basic auth 2025-01-26 00:54:28 +02:00
shared rm dbt 2025-02-12 13:11:19 +00:00
.envrc direnv: bump to 3.0.4 2024-03-10 17:20:09 +02:00
.gitattributes Configure git repository for gpg file diff. 2023-01-03 13:41:30 +02:00
.gitignore enable some checks in pre-commit hooks 2023-10-02 00:00:30 +03:00
data.nix dns: remove redundant / explicit TTLs 2025-02-16 23:10:55 +02:00
flake.lock flake.lock: Update 2025-02-18 07:00:29 +00:00
flake.nix bump gamja 2025-02-05 20:20:46 +00:00
LICENSE relicense 2024-01-15 18:18:45 +02:00
README.md borg: README 2024-08-27 09:00:57 +03:00
secrets.nix r1: basic auth 2025-01-26 00:54:28 +02:00

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