My configuration. Probably nothing to look for here.
Go to file
Motiejus Jakštys 45224e1874 flake.lock: Update
Flake lock file updates:

• Updated input 'home-manager':
    'github:nix-community/home-manager/613691f285dad87694c2ba1c9e6298d04736292d?narHash=sha256-oJDtWPH1oJT34RJK1FSWjwX4qcGOBRkcNQPD0EbSfNM%3D' (2024-12-28)
  → 'github:nix-community/home-manager/bd65bc3cde04c16755955630b344bc9e35272c56?narHash=sha256-dinzAqCjenWDxuy%2BMqUQq0I4zUSfaCvN9rzuCmgMZJY%3D' (2025-01-08)
• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/3713545aca79365cba20d7873b6e51044890b4e8?narHash=sha256-8YT/8TMwWRRYFiLWMS98wPW50YBwYeErX7nQ7EmSaVA%3D' (2025-01-07)
  → 'github:NixOS/nixos-hardware/4f339f6be2b61662f957c2ee9eda0fa597d8a6d6?narHash=sha256-BG1FfTexFwNty5VhYjaQLMR6CMPfI3QRcaZrFQYu2EM%3D' (2025-01-07)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/cbd8ec4de4469333c82ff40d057350c30e9f7d36?narHash=sha256-DjkQPnkAfd7eB522PwnkGhOMuT9QVCZspDpJJYyOj60%3D' (2025-01-05)
  → 'github:NixOS/nixpkgs/3f0a8ac25fb674611b98089ca3a5dd6480175751?narHash=sha256-JO%2BlFN2HsCwSLMUWXHeOad6QUxOuwe9UOAF/iSl1J4I%3D' (2025-01-06)
• Updated input 'nixpkgs-unstable':
    'github:NixOS/nixpkgs/8f3e1f807051e32d8c95cd12b9b421623850a34d?narHash=sha256-/qlNWm/IEVVH7GfgAIyP6EsVZI6zjAx1cV5zNyrs%2BrI%3D' (2025-01-04)
  → 'github:NixOS/nixpkgs/bffc22eb12172e6db3c5dde9e3e5628f8e3e7912?narHash=sha256-8YVQ9ZbSfuUk2bUf2KRj60NRraLPKPS0Q4QFTbc%2Bc2c%3D' (2025-01-08)
• Updated input 'nur':
    'github:nix-community/NUR/5476a3ef040e48e613e2913c3d142bbd9c65baa5?narHash=sha256-/zEQmNQqF4DQ6VORWMpqO66nu3kLDR%2BrPQIF287BsTo%3D' (2025-01-07)
  → 'github:nix-community/NUR/d77ff06974bccfc66df7fe5dc61f2c55b696ca8b?narHash=sha256-wYAV1dYQCBCxYPr8Rd5ZIecyS8AStAYj1097VtsMHFQ%3D' (2025-01-09)
• Updated input 'nur/nixpkgs':
    'github:nixos/nixpkgs/8f3e1f807051e32d8c95cd12b9b421623850a34d?narHash=sha256-/qlNWm/IEVVH7GfgAIyP6EsVZI6zjAx1cV5zNyrs%2BrI%3D' (2025-01-04)
  → 'github:nixos/nixpkgs/bffc22eb12172e6db3c5dde9e3e5628f8e3e7912?narHash=sha256-8YVQ9ZbSfuUk2bUf2KRj60NRraLPKPS0Q4QFTbc%2Bc2c%3D' (2025-01-08)
• Updated input 'zig':
    'github:mitchellh/zig-overlay/10126ddc6141caf4028cd1c2bc85716aec30d50c?narHash=sha256-Qq44polY9elCZUnE38ykyBxb8QuPhNywm37COvlVkkA%3D' (2025-01-07)
  → 'github:mitchellh/zig-overlay/13711c686432814861f976a9574232a5007f05a9?narHash=sha256-4IHtmgbEtPxj2g13HaJPFlzfiQed2ijwL7rbTKpBYSs%3D' (2025-01-09)
2025-01-09 14:30:15 +02:00
hosts mtworx: change timezone 2025-01-09 10:19:42 +01:00
modules .config/gdb/gdbinit 2025-01-07 21:32:56 +01: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-09 14:30:15 +02: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