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