added wsl config

This commit is contained in:
Thilo Billerbeck 2023-10-29 00:42:21 +02:00
parent bb3bd3e7a3
commit 4844462dc4
2 changed files with 6 additions and 1 deletions

View file

@ -16,6 +16,7 @@
outputs = { self, nixpkgs, home-manager, ... }@inputs: outputs = { self, nixpkgs, home-manager, ... }@inputs:
let let
system = "x86_64-linux"; system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
in in
{ {
nixosConfigurations.thilo-pc = nixpkgs.lib.nixosSystem { nixosConfigurations.thilo-pc = nixpkgs.lib.nixosSystem {
@ -27,5 +28,10 @@
]; ];
specialArgs = { inherit inputs; }; specialArgs = { inherit inputs; };
}; };
homeConfigurations."thilo@thilo-pc-win" = home-manager.lib.homeManagerConfiguration {
inherit pkgs;
modules = [ ./home-manager/machines/wsl.nix ];
extraSpecialArgs = { inherit inputs; };
};
}; };
} }

View file

@ -8,7 +8,6 @@
machine = { machine = {
username = "thilo"; username = "thilo";
isGeneric = true; isGeneric = true;
nixPackage = pkgs.nixUnstable;
isGnome = false; isGnome = false;
noiseSuppression.enable = false; noiseSuppression.enable = false;
isGraphical = false; isGraphical = false;