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

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/d29ab98cd4a70a387b8ceea3e930b3340d41ac5a?narHash=sha256-vk0xwGZSlvZ/596yxOtsk4gxsIx2VemzdjiU8zhjgWw%3D' (2025-01-03)
  → 'github:NixOS/nixpkgs/cbd8ec4de4469333c82ff40d057350c30e9f7d36?narHash=sha256-DjkQPnkAfd7eB522PwnkGhOMuT9QVCZspDpJJYyOj60%3D' (2025-01-05)
• Updated input 'nixpkgs-unstable':
    'github:NixOS/nixpkgs/6df24922a1400241dae323af55f30e4318a6ca65?narHash=sha256-dklw3AXr3OGO4/XT1Tu3Xz9n/we8GctZZ75ZWVqAVhk%3D' (2025-01-02)
  → 'github:NixOS/nixpkgs/8f3e1f807051e32d8c95cd12b9b421623850a34d?narHash=sha256-/qlNWm/IEVVH7GfgAIyP6EsVZI6zjAx1cV5zNyrs%2BrI%3D' (2025-01-04)
• Updated input 'nur':
    'github:nix-community/NUR/3618adbdbd2a8f55258e344293d812dee9af0be9?narHash=sha256-7/aJQbahdK3kVB/DdJqg4/rc4tyoSJ9xKuKBIHaJ11E%3D' (2025-01-05)
  → 'github:nix-community/NUR/bf8f7e8d409f70068bb71bb2ed5de0dcf6bc95b3?narHash=sha256-B3A1cFfk2vq1zhkSBbnOpVW%2BkA7H5PVxv9FbPJWH8wQ%3D' (2025-01-06)
• Updated input 'nur/nixpkgs':
    'github:nixos/nixpkgs/6df24922a1400241dae323af55f30e4318a6ca65?narHash=sha256-dklw3AXr3OGO4/XT1Tu3Xz9n/we8GctZZ75ZWVqAVhk%3D' (2025-01-02)
  → 'github:nixos/nixpkgs/8f3e1f807051e32d8c95cd12b9b421623850a34d?narHash=sha256-/qlNWm/IEVVH7GfgAIyP6EsVZI6zjAx1cV5zNyrs%2BrI%3D' (2025-01-04)
• Updated input 'zig':
    'github:mitchellh/zig-overlay/a9c572eaee80d4f0b96b9defdd17238e592e2038?narHash=sha256-3qFjiooEhFmD0SyM17CqXqpJacu4N7HPJ4qaGW%2BxnnA%3D' (2025-01-05)
  → 'github:mitchellh/zig-overlay/6e8d9aa1984801e44140290d336e7b9fbe49c4b4?narHash=sha256-j1k1Z4YlxWAdYyXZML2fGhKfueZ9J0Tz8x0U853dhu4%3D' (2025-01-06)
2025-01-06 07:00:25 +00:00
hosts mtworx: change tz 2025-01-04 18:21:37 +02:00
modules desktop: +f3 2025-01-01 17:33:24 +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 2025-01-06 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