Fix wsl2 configuration
This commit is contained in:
parent
da0a1276ff
commit
40d6b9285a
|
@ -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"; }; };
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -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 ];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue