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

• Updated input 'nix-index-database':
    'github:Mic92/nix-index-database/465792533d03e6bb9dc849d58ab9d5e31fac9023?narHash=sha256-dZWcbAQ1sF8oVv%2BzjSKkPVY0ebwENQEkz5vc6muXbKY%3D' (2025-02-23)
  → 'github:Mic92/nix-index-database/26a0f969549cf4d56f6e9046b9e0418b3f3b94a5?narHash=sha256-jN6kJ41B6jUVDTebIWeebTvrKP6YiLd1/wMej4uq4Sk%3D' (2025-03-02)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/f44bd8ca21e026135061a0a57dcf3d0775b67a49?narHash=sha256-t%2BVaahjQAWyA%2BCtn2idyo1yxRIYpaDxMgHkgCNiMJa4%3D' (2025-02-26)
  → 'github:NixOS/nixpkgs/b27ba4eb322d9d2bf2dc9ada9fd59442f50c8d7c?narHash=sha256-brsCRzLqimpyhORma84c3W2xPbIidZlIc3JGIuQVSNI%3D' (2025-02-28)
• Updated input 'nur':
    'github:nix-community/NUR/803af1dede2d5da2d5d8b9216eadc2d9c286541d?narHash=sha256-ropUCFjTBDFYt5oEWjZaxM0CaINTUcVc7BGNtf0K0TE%3D' (2025-03-01)
  → 'github:nix-community/NUR/1e0113bf56a2b7f7127e2136390e76cb7cb455eb?narHash=sha256-QETBJHO%2BHOKPbqT%2BTeWqsS3kHMN0xBxO6TAP3qZ%2Bi7E%3D' (2025-03-02)
• Updated input 'pre-commit-hooks':
    'github:cachix/pre-commit-hooks.nix/9364dc02281ce2d37a1f55b6e51f7c0f65a75f17?narHash=sha256-R10v2hoJRLq8jcL4syVFag7nIGE7m13qO48wRIukWNg%3D' (2025-01-21)
  → 'github:cachix/pre-commit-hooks.nix/25d4946dfc2021584f5bde1fbd2aa97353384a95?narHash=sha256-LWDIJvKWMW0tiih1jTcAK0ncTi3S9IF3gOhpCT1ydik%3D' (2025-03-01)
• Updated input 'zig':
    'github:mitchellh/zig-overlay/8f4184dcad59fac2ab06faf08371b6fb4288f619?narHash=sha256-VwZd6L6oOpMlynP0aw9nd5a0qnpJrdQW4G%2BEl50mFXE%3D' (2025-02-28)
  → 'github:mitchellh/zig-overlay/2e8e91407fc014324a46f2f20849772cf0dd2155?narHash=sha256-g/kh9kOWVfWQfxcQSWRgSUCAkOCJMqvEQecGA4S9bL4%3D' (2025-03-01)
2025-03-02 07:00:14 +00:00
hosts frigate: disable leftover password file 2025-02-22 20:55:58 +02:00
modules desktop: change tz 2025-02-28 07:55:20 +00: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 nerdfonts and TF chrono provider 2025-02-26 11:57:39 +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-03-02 07:00:14 +00:00
flake.nix bump go to 1.24 2025-02-19 14:56:48 +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