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

• Updated input 'nixpkgs-unstable':
    'github:NixOS/nixpkgs/d0797a04b81caeae77bcff10a9dde78bc17f5661?narHash=sha256-kEsTJTUQfQFIJOcLYFt/RvNxIK653ZkTBIs4DG%2BcBns%3D' (2024-12-05)
  → 'github:NixOS/nixpkgs/22c3f2cf41a0e70184334a958e6b124fb0ce3e01?narHash=sha256-Qn3nPMSopRQJgmvHzVqPcE3I03zJyl8cSbgnnltfFDY%3D' (2024-12-07)
• Updated input 'nur':
    'github:nix-community/NUR/fc8c42c7aa2a5073dce66daec2f3d66c21e8f502?narHash=sha256-YbwEfGitlydTYH2HgX%2BXoWlnbsWdQpvS7wihAz7lZTw%3D' (2024-12-08)
  → 'github:nix-community/NUR/d7857b9926ac2e9ace874c5fab8dc2a5868ad89e?narHash=sha256-kftt9cjkWCqeCxo2PJqoHHArVqvuLr19v/7AQlIAUfc%3D' (2024-12-09)
• Updated input 'nur/nixpkgs':
    'github:nixos/nixpkgs/d0797a04b81caeae77bcff10a9dde78bc17f5661?narHash=sha256-kEsTJTUQfQFIJOcLYFt/RvNxIK653ZkTBIs4DG%2BcBns%3D' (2024-12-05)
  → 'github:nixos/nixpkgs/22c3f2cf41a0e70184334a958e6b124fb0ce3e01?narHash=sha256-Qn3nPMSopRQJgmvHzVqPcE3I03zJyl8cSbgnnltfFDY%3D' (2024-12-07)
• Updated input 'pre-commit-hooks':
    'github:cachix/pre-commit-hooks.nix/6f4e2a2112050951a314d2733a994fbab94864c6?narHash=sha256-SVQVsbafSM1dJ4fpgyBqLZ%2BLft%2BjcQuMtEL3lQWx2Sk%3D' (2024-12-04)
  → 'github:cachix/pre-commit-hooks.nix/d8c02f0ffef0ef39f6063731fc539d8c71eb463a?narHash=sha256-%2BXTFXYlFJBxohhMGLDpYdEnhUNdxN8dyTA8WAd%2Blh2A%3D' (2024-12-08)
• Updated input 'zig':
    'github:mitchellh/zig-overlay/40e32dd7e083eab4340acd17de47f13d883f257f?narHash=sha256-o4jsVKtInTA0CqwUUdcAxCYAgNLLNo30mLzz3qVc0eY%3D' (2024-12-06)
  → 'github:mitchellh/zig-overlay/13d34bb402075264262bf877bcf0daf34bbde3d9?narHash=sha256-zwC5Mkon74GC2Pv1ZGICKh4Bgevian1BvZ6Ix3dY8wk%3D' (2024-12-09)
2024-12-09 07:00:15 +00:00
hosts displayManager: fix warning 2024-12-07 22:04:04 +02:00
modules vno3-nk: add borgstor 2024-12-06 07:44:33 +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 rm nixgl 2024-12-07 22:09:32 +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-09 07:00:15 +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