1.7 KiB
1.7 KiB
azos/beacon-wsl azos/beacon-wsl
Overview
NixOS-WSL instance running on a Windows machine on the local network.
- Static IP:
192.168.1.200 - GPU: NVIDIA RTX 3050, 6GB VRAM, CUDA 13.2
- Config:
_machines/beacon-wsl.nix→nixos/configuration-beacon-wsl.nix
SSH Access
Uses YubiKey GPG key (cardno:29_109_265) — same key as lauretta. Authorized key
is set in users.users.aner.openssh.authorizedKeys.keys in the NixOS config.
Password auth disabled; root login disabled.
Remote Deployment
Build locally and copy FAILS due to unsigned path rejection by remote Nix daemon. Must build on the target host itself:
nixos-rebuild switch \
--flake '/home/aner/azos?submodules=1#beacon-wsl' \
--target-host aner@192.168.1.200 \
--build-host aner@192.168.1.200 \
--elevate=sudo
CUDA / GPU
programs.nix-ld.enable = truerequired to run WSL-provided binaries (nvidia-smi, etc.)nvidia-smilives at/usr/lib/wsl/lib/nvidia-smi; needsLD_LIBRARY_PATH=/usr/lib/wsl/libhardware.graphics.enable = trueexposes GPU via WSL2 paravirtualization- CUDA-enabled torch works via nix shell with
config.cudaSupport = true(seerollproject flake)
Windows-Side Setup
- Mirrored networking:
C:\Users\<user>\.wslconfigwith[wsl2] networkingMode=mirrored - Windows Firewall inbound rule for TCP port 22 required (
-Profile Any) - Static IP set via Windows network adapter settings