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

• Updated input 'home-manager':
    'github:nix-community/home-manager/f8831cc700030e11fc91da9ef6270593e6440edc?narHash=sha256-wpmPl6FkAF9Jj5C/rzANgpUjfzQrUYOn267LnzKU2uI%3D' (2024-11-22)
  → 'github:nix-community/home-manager/f3111f62a23451114433888902a55cf0692b408d?narHash=sha256-T1e5oceypZu3Q8vzICjv1X/sGs9XfJRMW5OuXHgpB3c%3D' (2024-11-24)
• Updated input 'nix-index-database':
    'github:Mic92/nix-index-database/0ef970b7021e0ee9ab93437d0e28296e86669b03?narHash=sha256-TjuKScXbj4Ddr0L%2BkEOLFaYOhzbS/k/EFL543wkjN5E%3D' (2024-11-24)
  → 'github:Mic92/nix-index-database/bedc30c64442579943c1c6e7579db263d810884f?narHash=sha256-3SMxtkXlmzPmF4NXCt6lLF2IkdyAmO824PlScUKVhB0%3D' (2024-11-24)
• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/672ac2ac86f7dff2f6f3406405bddecf960e0db6?narHash=sha256-UhWmEZhwJZmVZ1jfHZFzCg%2BZLO9Tb/v3Y6LC0UNyeTo%3D' (2024-11-16)
  → 'github:NixOS/nixos-hardware/45348ad6fb8ac0e8415f6e5e96efe47dd7f39405?narHash=sha256-kF6rDeCshoCgmQz%2B7uiuPdREVFuzhIorGOoPXMalL2U%3D' (2024-11-24)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/057f63b6dc1a2c67301286152eb5af20747a9cb4?narHash=sha256-v5P3dk5JdiT%2B4x69ZaB18B8%2BRcu3TIOrcdG4uEX7WZ8%3D' (2024-11-16)
  → 'github:NixOS/nixpkgs/0c582677378f2d9ffcb01490af2f2c678dcb29d3?narHash=sha256-GcOQbOgmwlsRhpLGSwZJwLbo3pu9ochMETuRSS1xpz4%3D' (2024-11-23)
• Updated input 'nur':
    'github:nix-community/NUR/86dd7c6cbc3f3994e3e04c46bd9fce3898745d12?narHash=sha256-NZLJGnPKIfQ5iggi89/kin2kh7JJOBAG8mbC2O/pe2Q%3D' (2024-11-24)
  → 'github:nix-community/NUR/3713e47855a644d534b556be42458326bef6cbe0?narHash=sha256-qspvlvHSR0Jgl8QsraMNQLFGu/Hv24%2BSwB2W8cB1dqU%3D' (2024-11-25)
• Updated input 'zig':
    'github:mitchellh/zig-overlay/993ce9f1e7c40e62d30d2aaee23742f795db434c?narHash=sha256-5eSxwH5%2ByPGg8kRX%2B4y4VIKMwny9voZhR3HHk/zIsZM%3D' (2024-11-23)
  → 'github:mitchellh/zig-overlay/b7f09ab4c8316833ed54f942d7a4a6d296554aa4?narHash=sha256-4tiWciev4g2Pxz5qrWooDBVIxqtIvIhoYNycMuHyHQ0%3D' (2024-11-25)
2024-11-25 07:00:19 +00:00
hosts vno3-rp3b: make chronyd more aggressive on large drift 2024-11-22 19:42:26 +02:00
modules fix tailscaled dns 2024-11-21 06:54:12 +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 nvim: change colorscheme to vim 2024-11-21 12:38:21 +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-11-25 07:00:19 +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