diff --git a/flake.nix b/flake.nix index 483615a..09f8d63 100644 --- a/flake.nix +++ b/flake.nix @@ -16,6 +16,7 @@ outputs = { self, nixpkgs, home-manager, ... }@inputs: let system = "x86_64-linux"; + pkgs = nixpkgs.legacyPackages.${system}; in { nixosConfigurations.thilo-pc = nixpkgs.lib.nixosSystem { @@ -27,5 +28,10 @@ ]; specialArgs = { inherit inputs; }; }; + homeConfigurations."thilo@thilo-pc-win" = home-manager.lib.homeManagerConfiguration { + inherit pkgs; + modules = [ ./home-manager/machines/wsl.nix ]; + extraSpecialArgs = { inherit inputs; }; + }; }; } diff --git a/home-manager/machines/wsl.nix b/home-manager/machines/wsl.nix index d56df2e..39d9f2e 100644 --- a/home-manager/machines/wsl.nix +++ b/home-manager/machines/wsl.nix @@ -8,7 +8,6 @@ machine = { username = "thilo"; isGeneric = true; - nixPackage = pkgs.nixUnstable; isGnome = false; noiseSuppression.enable = false; isGraphical = false;