Push an ugly dumb hm standardization

This commit is contained in:
Bun 2025-05-12 04:07:39 -04:00
parent af605502d0
commit f50b90ba94

View file

@ -56,10 +56,10 @@
modules = [ (./hosts + "/${name}") ];
specialArgs = inputs;
};
mkHome = channel: modules: hm.lib.homeManagerConfiguration {
inherit modules;
mkHome = extraModules: hm.lib.homeManagerConfiguration {
modules = [ ./modules/home ] ++ extraModules;
extraSpecialArgs = inputs;
pkgs = builtins.getAttr system channel.legacyPackages;
pkgs = builtins.getAttr system stable.legacyPackages;
};
hostChannels = {
@ -77,14 +77,14 @@
nixosConfigurations = builtins.mapAttrs (name: channel: mkNix name channel) hostChannels;
homeConfigurations = {
default = mkHome stable [ ./modules/home ];
full = mkHome stable [
./modules/home
{
home.guifull.enable = true;
targets.genericLinux.enable = true;
}
];
default = mkHome [ ];
desktop = mkHome [{ home.guifull.enable = true; }];
generic = mkHome [{ targets.genericLinux.enable = true; }];
genericDesktop = mkHome [{
home.guifull.enable = true;
targets.genericLinux.enable = true;
}];
};
}
);