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

• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/b678606690027913f3434dea3864e712b862dde5?narHash=sha256-oMr3PVIQ8XPDI8/x6BHxsWEPBRU98Pam6KGVwUh8MPk%3D' (2025-01-15)
  → 'github:NixOS/nixos-hardware/cb3173dc5c746fa95bca1f035a7e4d2b588894ac?narHash=sha256-%2BX9KAryvDsIE7lQ0FdfiD1u33nOVgsgufedqspf77N4%3D' (2025-01-19)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/6a3ae7a5a12fb8cac2d59d7df7cbd95f9b2f0566?narHash=sha256-s40Kk/OulP3J/1JvC3VT16U4r/Xw6Qdi7SRw3LYkPWs%3D' (2025-01-18)
  → 'github:NixOS/nixpkgs/107d5ef05c0b1119749e381451389eded30fb0d5?narHash=sha256-Qw2PwmkXDK8sPQ5YQ/y/icbQ%2BTYgbxfjhgnkNJyT1X8%3D' (2025-01-19)
• Updated input 'nur':
    'github:nix-community/NUR/0b2b53ac3bd61384876cf8461d32e698064297ea?narHash=sha256-Ue2TumKTw%2B6VUSKdgHE93gViUTOJDmS2I0HjLbmrHls%3D' (2025-01-19)
  → 'github:nix-community/NUR/faa786a8b89e71301d620cb1320df7b2195d8b54?narHash=sha256-nJ2OakILvf7Z%2B4jl1z/db91YdzHr9QRmGJEXBXJj9WM%3D' (2025-01-20)
• Updated input 'pre-commit-hooks':
    'github:cachix/pre-commit-hooks.nix/94ee657f6032d913fe0ef49adaa743804635b0bb?narHash=sha256-I/OuxGwXwRi5gnFPsyCvVR%2BIfFstA%2BQXEpHu1hvsgD8%3D' (2025-01-16)
  → 'github:cachix/pre-commit-hooks.nix/15a87cedeb67e3dbc8d2f7b9831990dffcf4e69f?narHash=sha256-2UNmLCKORvdBRhPGI8Vx0b6l7M8/QBey/nHLIxOl4jE%3D' (2025-01-19)
2025-01-20 07:00:17 +00:00
hosts fra1-b: fix ipv6 2025-01-18 20:37:26 +02:00
modules add vno4-rutx11 to ping_exporter 2025-01-19 00:05:15 +02:00
pkgs rm imapsync 2024-11-07 16:48:25 +02:00
secrets grafana: remove oidc too 2025-01-16 22:37:41 +02:00
shared firefox: browser.uidensity = 1 2025-01-16 10:28:05 +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 add vno4-rutx11 2025-01-17 17:13:32 +02:00
flake.lock flake.lock: Update 2025-01-20 07:00:17 +00:00
flake.nix flake.nix: remove unused override 2025-01-09 14:36:05 +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 grafana: remove oidc too 2025-01-16 22:37:41 +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