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

• Updated input 'nix-index-database':
    'github:Mic92/nix-index-database/f4a5ca5771ba9ca31ad24a62c8d511a405303436?narHash=sha256-AGXhwHdJV0q/WNgqwrR2zriubLr785b02FphaBtyt1Q%3D' (2024-11-25)
  → 'github:Mic92/nix-index-database/6e0b7f81367069589a480b91603a10bcf71f3103?narHash=sha256-vy9Q41hBE7Zg0yakF79neVgb3i3PQMSMR7uHPpPywFE%3D' (2024-12-01)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/0c582677378f2d9ffcb01490af2f2c678dcb29d3?narHash=sha256-GcOQbOgmwlsRhpLGSwZJwLbo3pu9ochMETuRSS1xpz4%3D' (2024-11-23)
  → 'github:NixOS/nixpkgs/c71ad5c34d51dcbda4c15f44ea4e4aa6bb6ac1e9?narHash=sha256-fYNXgpu1AEeLyd3fQt4Ym0tcVP7cdJ8wRoqJ%2BCtTRyY%3D' (2024-11-28)
• Updated input 'nixpkgs-unstable':
    'github:NixOS/nixpkgs/4633a7c72337ea8fd23a4f2ba3972865e3ec685d?narHash=sha256-2ThgXBUXAE1oFsVATK1ZX9IjPcS4nKFOAjhPNKuiMn0%3D' (2024-11-25)
  → 'github:NixOS/nixpkgs/970e93b9f82e2a0f3675757eb0bfc73297cc6370?narHash=sha256-jNRNr49UiuIwaarqijgdTR2qLPifxsVhlJrKzQ8XUIE%3D' (2024-11-28)
• Updated input 'nur':
    'github:nix-community/NUR/d2663258532075556f449dc6fed76fae13cba9c6?narHash=sha256-HIIJAXHWke%2BhNlUNqqMuM6D8k0ZzAPMB47%2BmHv4xrpA%3D' (2024-11-29)
  → 'github:nix-community/NUR/068ea9dd050bef3c4b9572dbf80d8a028ed23363?narHash=sha256-mrzFcVzBx4Kei8bU%2B6xLBPV8Z4CbjRT/S/%2Bwo/Y7SWA%3D' (2024-12-01)
• Updated input 'zig':
    'github:mitchellh/zig-overlay/82ff5dde874c2c53964ef8c906afe4232e9f1e78?narHash=sha256-MJ0I8hdwB1hS3JEWHSdxsSGqAvGq59bA9J34MLFiTOU%3D' (2024-11-29)
  → 'github:mitchellh/zig-overlay/e6439476a7240fbc483b31b3c9108afd9d3cbe46?narHash=sha256-q%2BUHd03q8K8xIGMV08ZJRIfHl0UhseJCxSpAE%2BdnXCk%3D' (2024-12-01)
2024-12-01 07:00:18 +00:00
hosts vno3-rp3b: make chronyd more aggressive on large drift 2024-11-22 19:42:26 +02:00
modules immich: remove explicit redis block 2024-11-28 21:16:15 +02:00
pkgs rm imapsync 2024-11-07 16:48:25 +02:00
secrets rm iodine 2024-10-08 13:43:58 -07:00
shared work: +1password 2024-11-28 21:27:05 +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 rm mxp10 2024-11-19 18:49:39 +02:00
flake.lock flake.lock: Update 2024-12-01 07:00:18 +00:00
flake.nix 24.11 2024-11-19 22:32:19 +02: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 rm iodine 2024-10-08 13:43:58 -07: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