Try to fix home-manager versions

This commit is contained in:
Greg Hellings
2023-11-03 12:41:49 -05:00
parent fb2c46d778
commit 106b06e2c6
+7 -3
View File
@@ -1,14 +1,18 @@
{ inputs, overlays, ... }: { inputs, overlays, ... }:
let let
wsl = args: (unstable (args // { extraMods = [ inputs.wsl.nixosModules.wsl ]; })); wsl = args: (unstable (args // { extraMods = [ inputs.wsl.nixosModules.wsl ]; }));
unstable = args: (machine (args // { channel = inputs.nixunstable; })); unstable = args: (machine (args // {
channel = inputs.nixunstable;
hm = inputs.hmunstable;
}));
machine = { machine = {
channel ? inputs.nixstable, channel ? inputs.nixstable,
extraMods ? [], extraMods ? [],
gnome ? false, gnome ? false,
gui ? false, gui ? false,
name, name,
system ? "x86_64-linux" system ? "x86_64-linux",
hm ? inputs.hm
}: }:
let let
nixpkgs = import channel { nixpkgs = import channel {
@@ -30,7 +34,7 @@ let
}; };
} }
inputs.agenix.nixosModules.default inputs.agenix.nixosModules.default
inputs.hm.nixosModules.home-manager hm.nixosModules.home-manager
../modules-all ../modules-all
../modules-linux ../modules-linux
./${name} ./${name}