My configuration. Probably nothing to look for here.
Go to file
Deployerbot Main 046a7fc033 flake.lock: Update
Flake lock file updates:

• Updated input 'nix-index-database':
    'github:Mic92/nix-index-database/5c77c6d6f2e8cc6007c2b1a4df1a507834404a67?narHash=sha256-CUy00dj513aIvtN2NGiDKLCVEQSz4xHWSDf229EiJdU%3D' (2025-03-16)
  → 'github:Mic92/nix-index-database/2cfb4e1ca32f59dd2811d7a6dd5d4d1225f0955c?narHash=sha256-pDNzMoR6m1ZSJToZQ6XDTLVSdzIzmFl1b8Pc3f7iV6Y%3D' (2025-03-17)
• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/e1f12151258b12c567f456d8248e4694e9390613?narHash=sha256-f0BVt1/cvA0DQ/q3rB%2BHY4g4tKksd03ZkzI4xehC2Ew%3D' (2025-03-12)
  → 'github:NixOS/nixos-hardware/113cd3916682def185290145924fa30b30bda972?narHash=sha256-SrvP0G0fxz35lvQxBhAeJOl6%2BBueIsxJ4azMX%2Bl/kAU%3D' (2025-03-17)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/cdd2ef009676ac92b715ff26630164bb88fec4e0?narHash=sha256-prZ0M8vE/ghRGGZcflvxCu40ObKaB%2Bikn74/xQoNrGQ%3D' (2025-03-13)
  → 'github:NixOS/nixpkgs/a1185f4064c18a5db37c5c84e5638c78b46e3341?narHash=sha256-DDe16FJk18sadknQKKG/9FbwEro7A57tg9vB5kxZ8kY%3D' (2025-03-16)
• Updated input 'nixpkgs-unstable':
    'github:NixOS/nixpkgs/6607cf789e541e7873d40d3a8f7815ea92204f32?narHash=sha256-cPfs8qMccim2RBgtKGF%2Bx9IBCduRvd/N5F4nYpU0TVE%3D' (2025-03-13)
  → 'github:NixOS/nixpkgs/c80f6a7e10b39afcc1894e02ef785b1ad0b0d7e5?narHash=sha256-C7jVfohcGzdZRF6DO%2BybyG/sqpo1h6bZi9T56sxLy%2Bk%3D' (2025-03-15)
• Updated input 'nur':
    'github:nix-community/NUR/86b51446dadce3e3a85bc0211a09f938664a0208?narHash=sha256-neenUewjVHIYZKHTwBCfahK%2BMZ08g4Rh5GMYAT74Nfs%3D' (2025-03-16)
  → 'github:nix-community/NUR/78438dab3df8c1d8ea1141338c61367c8b0c86a4?narHash=sha256-hufNEFB9juTpj/eF6vzMI90UkEWoFSZWSDJhb2WKR88%3D' (2025-03-17)
• Updated input 'nur/nixpkgs':
    'github:nixos/nixpkgs/6607cf789e541e7873d40d3a8f7815ea92204f32?narHash=sha256-cPfs8qMccim2RBgtKGF%2Bx9IBCduRvd/N5F4nYpU0TVE%3D' (2025-03-13)
  → 'github:nixos/nixpkgs/c80f6a7e10b39afcc1894e02ef785b1ad0b0d7e5?narHash=sha256-C7jVfohcGzdZRF6DO%2BybyG/sqpo1h6bZi9T56sxLy%2Bk%3D' (2025-03-15)
• Updated input 'zig':
    'github:mitchellh/zig-overlay/0dc9ae60eda504251aa2fb4304720a4aaea66b88?narHash=sha256-dF%2B9ptTay1hu8nSxn5rFBILUwQPGDrJ9lXwo2hCianE%3D' (2025-03-16)
  → 'github:mitchellh/zig-overlay/b6d9078190d89f3be4eb241adbd7a66b7217b9a0?narHash=sha256-jA1rXa53IJvcM8qh0OlVz601ITVKbVLd5meXdtgW34E%3D' (2025-03-17)
2025-03-17 07:00:30 +00:00
hosts timelapse: minutely 2025-03-16 22:11:59 +02:00
modules frigate: sync recordings 2025-03-16 21:34:18 +00:00
pkgs gamja comment 2025-02-05 20:22:47 +00:00
secrets timelapse: change creds 2025-03-15 17:50:26 +00:00
shared bump zig 2025-03-14 22:18:46 +02: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 jakst.vpn 2025-03-08 23:47:31 +02:00
flake.lock flake.lock: Update 2025-03-17 07:00:30 +00:00
flake.nix jakst.vpn 2025-03-08 23:47:31 +02:00
LICENSE relicense 2024-01-15 18:18:45 +02:00
README.md jakst.vpn 2025-03-08 23:47:31 +02:00
secrets.nix timelapse: change creds 2025-03-15 17:50:26 +00: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.jakst.vpn-home-motiejus-annex2