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

• Updated input 'nixpkgs-unstable':
    'github:NixOS/nixpkgs/5e4fbfb6b3de1aa2872b76d49fafc942626e2add?narHash=sha256-OZiZ3m8SCMfh3B6bfGC/Bm4x3qc1m2SVEAlkV6iY7Yg%3D' (2024-11-15)
  → 'github:NixOS/nixpkgs/23e89b7da85c3640bbc2173fe04f4bd114342367?narHash=sha256-y/MEyuJ5oBWrWAic/14LaIr/u5E0wRVzyYsouYY3W6w%3D' (2024-11-19)
• Updated input 'nur':
    'github:nix-community/NUR/8ee137273e4a24ac661b43a195848beac5b3bd04?narHash=sha256-SJW1HVIbav/8NlEFMqfiqrhaKcpbMqMFCTZ0cOikXgA%3D' (2024-11-19)
  → 'github:nix-community/NUR/34ea536162b11e0db2449bd2eb248dccce1bb9e6?narHash=sha256-vWkWJWMujimxIan8vSSXmB6ujov6SgQca3wD4c2EGIk%3D' (2024-11-20)
• Updated input 'zig':
    'github:mitchellh/zig-overlay/d667054598d541df2266b961b207bb63fe8fe423?narHash=sha256-K9Ckfj8B/BYseN/FjdP0Q%2BfpuXEgl8cVov5t6%2B4D8bU%3D' (2024-11-19)
  → 'github:mitchellh/zig-overlay/d7ed8d82e2b26624ad02f551401ef489c779237d?narHash=sha256-jxVS0F3elJuD3HXUkSHIf6rv9udbkwvnJCfXxXqpaLQ%3D' (2024-11-20)
2024-11-20 20:30:38 +00:00
hosts re-enable immich 2024-11-20 22:30:10 +02:00
modules headscale: +prefixes.ipv4 2024-11-20 21:13:39 +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 colorscheme: let's try torte 2024-11-20 10:03:14 +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-20 20:30:38 +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