Personal NixOS WSL configuration managed as a single flake.
flake.nix: root flake, shared inputs, NixOS configuration, dev shells, checksconfiguration.nix: WSL-specific NixOS host modulehome.nix: Home Manager configuration and shell customizationsnvim-config: Nixvim module and plugin splitpython-base: uv2nix-based Python development shell
The python-base environment is exposed in two ways:
- as the default user-level base Python environment through Home Manager
- as a flake dev shell for explicit development workflows
Build the system:
nixos-rebuild build --flake .#nixosSwitch the system:
sudo nixos-rebuild switch --flake .#nixosCheck the flake:
nix flake check --show-traceEnter the Python dev shell:
nix develop .#python-baseFormat Nix files:
nix fmt