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

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/b27ba4eb322d9d2bf2dc9ada9fd59442f50c8d7c?narHash=sha256-brsCRzLqimpyhORma84c3W2xPbIidZlIc3JGIuQVSNI%3D' (2025-02-28)
  → 'github:NixOS/nixpkgs/5ef6c425980847c78a80d759abc476e941a9bf42?narHash=sha256-h00vGIh/jxcGl8aWdfnVRD74KuLpyY3mZgMFMy7iKIc%3D' (2025-03-01)
• Updated input 'nixpkgs-unstable':
    'github:NixOS/nixpkgs/6313551cd05425cd5b3e63fe47dbc324eabb15e4?narHash=sha256-D%2BR%2BkFxy1KsheiIzkkx/6L63wEHBYX21OIwlFV8JvDs%3D' (2025-02-27)
  → 'github:NixOS/nixpkgs/303bd8071377433a2d8f76e684ec773d70c5b642?narHash=sha256-cjbHI%2BzUzK5CPsQZqMhE3npTyYFt9tJ3%2BohcfaOF/WM%3D' (2025-03-01)
• Updated input 'nur':
    'github:nix-community/NUR/1e0113bf56a2b7f7127e2136390e76cb7cb455eb?narHash=sha256-QETBJHO%2BHOKPbqT%2BTeWqsS3kHMN0xBxO6TAP3qZ%2Bi7E%3D' (2025-03-02)
  → 'github:nix-community/NUR/fbaf37e080f2e35777126cce3c578375514bd38a?narHash=sha256-c37Lc3Q09INuC8akgK13g66q/sU0jDxJmLJRFQFDSTY%3D' (2025-03-03)
• Updated input 'nur/nixpkgs':
    'github:nixos/nixpkgs/6313551cd05425cd5b3e63fe47dbc324eabb15e4?narHash=sha256-D%2BR%2BkFxy1KsheiIzkkx/6L63wEHBYX21OIwlFV8JvDs%3D' (2025-02-27)
  → 'github:nixos/nixpkgs/303bd8071377433a2d8f76e684ec773d70c5b642?narHash=sha256-cjbHI%2BzUzK5CPsQZqMhE3npTyYFt9tJ3%2BohcfaOF/WM%3D' (2025-03-01)
• Updated input 'pre-commit-hooks':
    'github:cachix/pre-commit-hooks.nix/25d4946dfc2021584f5bde1fbd2aa97353384a95?narHash=sha256-LWDIJvKWMW0tiih1jTcAK0ncTi3S9IF3gOhpCT1ydik%3D' (2025-03-01)
  → 'github:cachix/pre-commit-hooks.nix/42b1ba089d2034d910566bf6b40830af6b8ec732?narHash=sha256-JvQvtaphZNmeeV%2BIpHgNdiNePsIpHD5U/7QN5AeY44A%3D' (2025-03-02)
• Updated input 'zig':
    'github:mitchellh/zig-overlay/2e8e91407fc014324a46f2f20849772cf0dd2155?narHash=sha256-g/kh9kOWVfWQfxcQSWRgSUCAkOCJMqvEQecGA4S9bL4%3D' (2025-03-01)
  → 'github:mitchellh/zig-overlay/5f7e591f8cd1a103f72c082ff7376419f0e0fe6f?narHash=sha256-eCE/9YiRl6s2TxpmSwbwFLSCTqPAZPy%2BFV6YHQvUWAU%3D' (2025-03-03)
2025-03-03 07:00:25 +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-03 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