main
Flake lock file updates:
• Updated input 'nur':
'github:nix-community/NUR/bb720b1e7b9a16bd972a25528e635f363591ba3f?narHash=sha256-ssvviMCfYZG3PKXTuxq/9TiML4aI9dqGOA73pBdSq6A%3D' (2026-05-06)
→ 'github:nix-community/NUR/2237d585a2173a7b1cb839cb2ef7c64afb91738e?narHash=sha256-yu4bxXbNT1h4hkiHV9aQtQror5pMvO37kPw%2BQeOkr1w%3D' (2026-05-07)
• Updated input 'zig':
'github:mitchellh/zig-overlay/e58052b0deeacf7d7731467355fc8c8a610c7a35?narHash=sha256-bGgaMaBphP4iAZMNII0Yu%2BUvNVF/i7N%2BdFBgYQV9rg0%3D' (2026-05-05)
→ 'github:mitchellh/zig-overlay/05e2d0bc25fba6d67b3439d864b81cb96dcbce30?narHash=sha256-BbG2mZ5FYBhdgujRAgcIreYGt1UkvVHqPX7aV1Y1ZlA%3D' (2026-05-06)
Config
Flakes:
$ deploy --interactive '#fwminex'
$ nix build .#deploy.nodes.fra1-c.profiles.system.path
Other:
$ nix build .#nixosConfigurations.vno3-rp3b.config.system.build.toplevel
$ nix eval .#nixosConfigurations.fwminex.config.services.nsd
$ nix why-depends .#nixosConfigurations.vno1-gdrx.config.system.build.toplevel .#legacyPackages.x86_64-linux.mbedtls_2
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.jakst.vpn-home-motiejus-annex2
netboot
dmesg | grep enp0<- find the usb interface- Disable power saving:
echo -1 | sudo tee /sys/bus/usb/devices/2-1/power/autosuspend.
Testing netboot
sudo ip tuntap add dev tap0 mode tap user "$USER"
sudo ip link set dev tap0 up
sudo ip link set dev tap0 master br0
sudo brctl addif br0 tap0
efi:
qemu-system-x86_64 \
-enable-kvm \
-cpu host \
-smp 4 \
-m 1024 \
-netdev tap,id=net0,ifname=tap0,script=no,downscript=no \
-device e1000,netdev=net0 \
-boot order=n \
-bios $(nix build .#nixosConfigurations.mtworx.pkgs.OVMF.fd --no-link --print-out-paths)/FV/OVMF.fd
bios:
qemu-system-x86_64 \
-enable-kvm \
-cpu host \
-smp 4 \
-m 8192 \
-netdev tap,id=net0,ifname=tap0,script=no,downscript=no \
-device e1000,netdev=net0 \
-boot order=n
Description
Languages
Nix
82.3%
Lua
9.7%
Shell
3.2%
Go
3%
Vim Script
0.9%
Other
0.9%