diff --git a/flake.nix b/flake.nix index 606db8d..5d6d31c 100644 --- a/flake.nix +++ b/flake.nix @@ -62,6 +62,7 @@ system = "x86_64-linux"; specialArgs = {inherit inputs;}; modules = [ + nixos-wsl.nixosModules.default ./hosts/wsl/configuration.nix ]; }; diff --git a/hosts/wsl/configuration.nix b/hosts/wsl/configuration.nix index 50fb532..db1b0ad 100644 --- a/hosts/wsl/configuration.nix +++ b/hosts/wsl/configuration.nix @@ -9,7 +9,6 @@ { imports = [ - inputs.nixos-wsl.nixosModules.default inputs.home-manager.nixosModules.default ../../modules/nixos/user.nix ]; @@ -29,6 +28,8 @@ nix.settings.experimental-features = ["nix-command" "flakes"]; + programs.nix-ld.enable = true; + home-manager = { extraSpecialArgs = {inherit inputs;}; useGlobalPkgs = true; @@ -38,5 +39,7 @@ }; }; + + system.stateVersion = "24.11"; } diff --git a/hosts/wsl/home.nix b/hosts/wsl/home.nix index 316f357..4a5f011 100644 --- a/hosts/wsl/home.nix +++ b/hosts/wsl/home.nix @@ -12,7 +12,6 @@ ../../modules/home-manager/jq.nix ../../modules/home-manager/lazygit.nix ../../modules/home-manager/man.nix - ../../modules/home-manager/emacs ]; home.username = "mthomson"; home.homeDirectory = "/home/mthomson";