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

• Updated input 'nix-index-database':
    'github:Mic92/nix-index-database/c7515c2fdaf2e1f3f49856cef6cec95bb2138417' (2024-09-22)
  → 'github:Mic92/nix-index-database/a2ab1588541ae442bd3a682f8f6bbcbca2672f10' (2024-09-29)
• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/d830ad47cc992b4a46b342bbc79694cbd0e980b2' (2024-09-27)
  → 'github:NixOS/nixos-hardware/fb08bde00c20252b892a3e57fb094eb62b65ba61' (2024-09-28)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/759537f06e6999e141588ff1c9be7f3a5c060106' (2024-09-25)
  → 'github:NixOS/nixpkgs/fbca5e745367ae7632731639de5c21f29c8744ed' (2024-09-28)
• Updated input 'nur':
    'github:nix-community/NUR/1511e2738ed1709e3bddef891dee0903ba5ca62c' (2024-09-28)
  → 'github:nix-community/NUR/d6c50bc086a44dc5af3ab267b0af64203cba9eaa' (2024-09-29)
• Updated input 'pre-commit-hooks':
    'github:cachix/pre-commit-hooks.nix/4e743a6920eab45e8ba0fbe49dc459f1423a4b74' (2024-09-19)
  → 'github:cachix/pre-commit-hooks.nix/85f7a7177c678de68224af3402ab8ee1bcee25c8' (2024-09-28)
2024-09-29 06:00:27 +00:00
hosts immich: +bindPaths wip 2024-09-27 20:04:41 +03:00
modules immich: rollback systemd changes 2024-09-27 23:20:15 +03:00
pkgs weather exporter: user-agent 2024-09-17 07:03:51 +03:00
secrets borgbackup-password: allow on vno1-gdrx too 2024-08-27 08:53:42 +03:00
shared remove traces of evolution and thunderbird 2024-09-26 17:26:32 +03: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 reduce DNS ttl 2024-09-27 15:53:50 +03:00
flake.lock flake.lock: Update 2024-09-29 06:00:27 +00:00
flake.nix nixpkgs-unstable -> nixos-unstable 2024-09-28 20:58:12 +03: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 borgbackup-password: allow on vno1-gdrx too 2024-08-27 08:53:42 +03: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