My personal Nix configurations. For MacOS, NixOS and WSL.
Use the justfile to simplify common operations. The HOST variable is automatically set to your system's hostname.
Run just --list to see all available recipes.
The switch recipe automatically detects your OS:
just switchYou can build your own WSL file. You need an existing Nix installation.
Run to build the WSL Image:
just build-wslYour build file is under dist/nixos.wsl
For an existing NixOS WSL installation:
just switchTo update the flake's inputs, run:
just updatejust build: Build the configuration without switchingjust test: Test the configuration (temporary activation)just dump-hardware-config: Generate hardware configuration for current host
