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

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/9f94733f93e4fe6e82f516efae007096e4ab5a21?narHash=sha256-Qoz0ow6jDGUIBHxduc7Y1cjYFS71tvEGJV5Src/mj98%3D' (2024-12-28)
  → 'github:NixOS/nixpkgs/3ffbbdbac0566a0977da3d2657b89cbcfe9a173b?narHash=sha256-As8I%2BebItDKtboWgDXYZSIjGlKeqiLBvjxsQHUmAf1Q%3D' (2024-12-30)
• Updated input 'nixpkgs-unstable':
    'github:NixOS/nixpkgs/634fd46801442d760e09493a794c4f15db2d0cbb?narHash=sha256-NYVcA06%2BblsLG6wpAbSPTCyLvxD/92Hy4vlY9WxFI1M%3D' (2024-12-27)
  → 'github:NixOS/nixpkgs/88195a94f390381c6afcdaa933c2f6ff93959cb4?narHash=sha256-0q9NGQySwDQc7RhAV2ukfnu7Gxa5/ybJ2ANT8DQrQrs%3D' (2024-12-29)
• Updated input 'nur':
    'github:nix-community/NUR/c0fb7f9ca5cf5af6453f99bbd26e4f98017c0061?narHash=sha256-Uh4JrvT18DmgLZdyqhg6xZ89zLs8HL4k6v4HTAS6piQ%3D' (2024-12-30)
  → 'github:nix-community/NUR/9b1c14d6292d8f8e34415deb7d267e2512e41a6b?narHash=sha256-J/HCnlthc1JnuaUVsrVlgJWsvoB9prSC8TLq/UJa7bM%3D' (2024-12-31)
• Updated input 'nur/nixpkgs':
    'github:nixos/nixpkgs/634fd46801442d760e09493a794c4f15db2d0cbb?narHash=sha256-NYVcA06%2BblsLG6wpAbSPTCyLvxD/92Hy4vlY9WxFI1M%3D' (2024-12-27)
  → 'github:nixos/nixpkgs/88195a94f390381c6afcdaa933c2f6ff93959cb4?narHash=sha256-0q9NGQySwDQc7RhAV2ukfnu7Gxa5/ybJ2ANT8DQrQrs%3D' (2024-12-29)
• Updated input 'zig':
    'github:mitchellh/zig-overlay/639f18e72540fe1f46bcdedf37c90dd9131cda6d?narHash=sha256-Nmo%2BnId69rTNgkLQI5l920S8EiBLDeaBW88Pb45hte4%3D' (2024-12-29)
  → 'github:mitchellh/zig-overlay/6665a93cdd3ab725084ef9fd2a95c4b6bbf0b1e0?narHash=sha256-aDFN0qxte2SO7DI%2Bzu20Krte9/EeOxa/fkgxTJrLatc%3D' (2024-12-30)
2024-12-31 07:00:25 +00:00
hosts fwminex: rm jakstpub 2024-12-28 19:34:23 +02:00
modules Revert "rm nerdfonts" 2024-12-30 22:40:51 +02:00
pkgs rm imapsync 2024-11-07 16:48:25 +02:00
secrets vno3-nk: secrets 2024-12-06 01:28:23 +02:00
shared work: remove zoom-us 2024-12-12 10:37:19 +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 move hdd to vno3-nk 2024-12-06 07:38:03 +02:00
flake.lock flake.lock: Update 2024-12-31 07:00:25 +00:00
flake.nix rm nixgl 2024-12-07 22:09:32 +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 vno3-nk: secrets 2024-12-06 01:28:23 +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