# Edit this configuration file to define what should be installed on # your system. Help is available in the configuration.nix(5) man page, on # https://search.nixos.org/options and in the NixOS manual (`nixos-help`). # NixOS-WSL specific options are documented on the NixOS-WSL repository: # https://github.com/nix-community/NixOS-WSL { config, lib, pkgs, inputs, ... }: { imports = [ inputs.home-manager.nixosModules.default ../../modules/nixos/user.nix ]; wsl.enable = true; wsl.defaultUser = "mthomson"; networking.hostName = "wsl"; environment.systemPackages = with pkgs; [ git wget vim ]; nixpkgs.config.allowUnfree = true; nix.settings.experimental-features = ["nix-command" "flakes"]; programs.nix-ld.enable = true; home-manager = { extraSpecialArgs = {inherit inputs;}; useGlobalPkgs = true; useUserPackages = true; users = { mthomson = import ./home.nix; }; }; system.stateVersion = "24.11"; }