98806723facc6019c3eb3971e1c4242157089d7d
Flake lock file updates:
• Updated input 'nur':
'github:nix-community/NUR/1f69f0d158644c9b6bc65f6816d81880da06e026?narHash=sha256-n4Py5Ongs9Mt7pcmLvl9ktPhxmPCOtSdl2TDWXXB5fo%3D' (2026-01-29)
→ 'github:nix-community/NUR/110d3237a49700b05a52dfc82055f903169b712d?narHash=sha256-2%2BxvtXGhfpkcIMJTM%2BqsZkjslZwHNOgWk8Y6EZ7WrvI%3D' (2026-01-30)
• Updated input 'zig':
'github:mitchellh/zig-overlay/0bdf1ac16143b63c72c0be767f621a5965db04d7?narHash=sha256-sVKeHTxgU43jhORqQXvD2%2Br%2BX2fJtdNU7Xex2JFj6Wc%3D' (2026-01-28)
→ 'github:mitchellh/zig-overlay/8c20e76ce9751556dae0d1a9862ff18cda0daf1e?narHash=sha256-lVx%2BeckPioZtBg3FIhmHstqQUh%2BwTKFIJK8E5IdjbQk%3D' (2026-01-29)
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
efi:
qemu-system-x86_64
-enable-kvm
-cpu host
-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
-m 8192
-netdev tap,id=net0,ifname=tap0,script=no,downscript=no
-device e1000,netdev=net0
-boot order=n
Description
Languages
Nix
81.3%
Lua
10.3%
Shell
3.4%
Go
3.2%
Vim Script
0.9%
Other
0.9%