NixOS configuration (flake + flake-parts, one file per aspect under modules/), host nixos-btw.
- Desktop: Mango (wlroots) compositor with Dux Shell and dux-greeter.
- Kernel: own optimized kernel and NVIDIA driver (optimized-kernel).
- Security: Nix-Protect-Barrior: build gate, Nix daemon hardening, local-only ports, store repair and daily audit (
modules/system/protect-barrior.nix). - Yggdrasil: encrypted mesh network (
modules/services/yggdrasil.nix). Three public peers in Singapore and Hong Kong, private key kept in/var/lib/yggdrasil(never in the config), no LAN auto-peering, and every new incoming connection onygg0dropped. To host something over Yggdrasil, add its port toyggdrasilAllowedTCPPorts. - Bongo Cat key feed: lets the Dux Shell Bongo Cat plugin react to typing without putting the user in the
inputgroup; letters, digits and symbols are all sent as one key (modules/desktop/bongo-keyfeed.nix). - Apps, Fish, Kitty, ROS overlay, Ollama/Docker services, VirtualBox, auto-updates.
doas nixos-rebuild switch --flake .#nixos-btwWith Nix-Protect-Barrior active, use rebuild (gate first) instead.
security.acme.defaults.email is a placeholder in this copy; set your own.