Fix wsl2 configuration

This commit is contained in:
Oliver Davies 2024-03-25 11:49:33 +00:00
parent da0a1276ff
commit 40d6b9285a
2 changed files with 6 additions and 2 deletions

View file

@ -32,7 +32,7 @@
nixedo = mkNixos { desktop = true; hostname = "nixedo"; }; nixedo = mkNixos { desktop = true; hostname = "nixedo"; };
}; };
homeConfigurations = { wsl2 = mkWsl; }; homeConfigurations = { wsl2 = mkWsl { system = "x86_64-linux"; }; };
}; };
}; };
} }

View file

@ -1,4 +1,6 @@
{ inputs, self, system, username, }: { inputs, self, username }:
{ system }:
let let
pkgs = inputs.nixpkgs.legacyPackages.${system}; pkgs = inputs.nixpkgs.legacyPackages.${system};
@ -11,6 +13,8 @@ let
in inputs.home-manager.lib.homeManagerConfiguration { in inputs.home-manager.lib.homeManagerConfiguration {
inherit pkgs; inherit pkgs;
extraSpecialArgs = { inherit self; };
modules = [{ modules = [{
imports = [ shared-config ]; imports = [ shared-config ];