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

• Updated input 'nixpkgs-unstable':
    'github:NixOS/nixpkgs/d74a2335ac9c133d6bbec9fc98d91a77f1604c1f?narHash=sha256-zON2GNBkzsIyALlOCFiEBcIjI4w38GYOb%2BP%2BR4S8Jsw%3D' (2025-02-16)
  → 'github:NixOS/nixpkgs/73cf49b8ad837ade2de76f87eb53fc85ed5d4680?narHash=sha256-EO1ygNKZlsAC9avfcwHkKGMsmipUk1Uc0TbrEZpkn64%3D' (2025-02-18)
• Updated input 'nur':
    'github:nix-community/NUR/74bd5a7059a305f5b12204d03138b4b5d5b35df5?narHash=sha256-H0Q5UmCzYtEQosqarEEZ%2B8Onhj6f2IKSLxK7nk8GIT8%3D' (2025-02-18)
  → 'github:nix-community/NUR/2215ad5c4347f522523715e809f5f2022509f504?narHash=sha256-w2tTcjx39lJoPDaFbIxi%2BINIjAKE0jbIx9TNjj9ghmg%3D' (2025-02-18)
• Updated input 'zig':
    'github:mitchellh/zig-overlay/b1190ae3077baed223b79e54c0164dd51e63631a?narHash=sha256-3Oa3IXDVWMSIaaRNgusJNSzVDj0uCb2fZXChS0jnUq0%3D' (2025-02-18)
  → 'github:mitchellh/zig-overlay/6a43a4acb17ddcb72d222e1dbf8732a8e46e9b41?narHash=sha256-EHOOMs8bnmRO%2BtCmZ%2BZeDi6VbQykISfpkknxkGPpOjA%3D' (2025-02-19)
2025-02-19 07:00:18 +00:00
hosts nginx: redirect mis-opened http:8443 to https 2025-02-18 05:58:36 +02:00
modules motion: set to 5 fps 2025-02-16 23:40:05 +02: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 dbt 2025-02-12 13:11:19 +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-19 07:00:18 +00:00
flake.nix bump gamja 2025-02-05 20:20:46 +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