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

• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/d58f642ddb23320965b27beb0beba7236e9117b5?narHash=sha256-pGk/aA0EBvI6o4DeuZsr05Ig/r4uMlSaf5EWUZEWM10%3D' (2025-02-24)
  → 'github:NixOS/nixos-hardware/009b764ac98a3602d41fc68072eeec5d24fc0e49?narHash=sha256-dMReDQobS3kqoiUCQIYI9c0imPXRZnBubX20yX/G5LE%3D' (2025-02-27)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/5d7db4668d7a0c6cc5fc8cf6ef33b008b2b1ed8b?narHash=sha256-4Xhu/3aUdCKeLfdteEHMegx5ooKQvwPHNkOgNCXQrvc%3D' (2025-02-25)
  → 'github:NixOS/nixpkgs/f44bd8ca21e026135061a0a57dcf3d0775b67a49?narHash=sha256-t%2BVaahjQAWyA%2BCtn2idyo1yxRIYpaDxMgHkgCNiMJa4%3D' (2025-02-26)
• Updated input 'nixpkgs-unstable':
    'github:NixOS/nixpkgs/0196c0175e9191c474c26ab5548db27ef5d34b05?narHash=sha256-WGaHVAjcrv%2BCun7zPlI41SerRtfknGQap281%2BAakSAw%3D' (2025-02-24)
  → 'github:NixOS/nixpkgs/5135c59491985879812717f4c9fea69604e7f26f?narHash=sha256-Vr3Qi346M%2B8CjedtbyUevIGDZW8LcA1fTG0ugPY/Hic%3D' (2025-02-26)
• Updated input 'nur':
    'github:nix-community/NUR/45fdeec61694b88fee67cb94c19b4f4a6576816d?narHash=sha256-I6mwcSsoXQqyzf%2B79BCRcnOaGmcs3UnJm%2BkcVk/wfoA%3D' (2025-02-27)
  → 'github:nix-community/NUR/906d0e30b6d9c63b7df13e05b310368cd97372e8?narHash=sha256-RUW5rJQIGIYV%2BVnC%2BySmangGn1eRcSLNJAA%2BjzeygHo%3D' (2025-02-28)
• Updated input 'nur/nixpkgs':
    'github:nixos/nixpkgs/0196c0175e9191c474c26ab5548db27ef5d34b05?narHash=sha256-WGaHVAjcrv%2BCun7zPlI41SerRtfknGQap281%2BAakSAw%3D' (2025-02-24)
  → 'github:nixos/nixpkgs/5135c59491985879812717f4c9fea69604e7f26f?narHash=sha256-Vr3Qi346M%2B8CjedtbyUevIGDZW8LcA1fTG0ugPY/Hic%3D' (2025-02-26)
• Updated input 'zig':
    'github:mitchellh/zig-overlay/693423a2b13ddbe25e8fd158439d8163e4a7225e?narHash=sha256-0684bLMme1x/h8QqVdyrIkRUfWL6SondkYJCqKBX/RQ%3D' (2025-02-27)
  → 'github:mitchellh/zig-overlay/74ff6727a9fb18716c4b197eee31dae19cf34ff6?narHash=sha256-58ajEdQRwUe92airKQvOc5tNXzWSJq60dBm1D3SfOJs%3D' (2025-02-27)
2025-02-28 07:00:25 +00:00
hosts frigate: disable leftover password file 2025-02-22 20:55:58 +02:00
modules rm nerdfonts and TF chrono provider 2025-02-26 11:57:39 +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-02-28 07:00:25 +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