Push an ugly dumb hm standardization
This commit is contained in:
parent
af605502d0
commit
f50b90ba94
1 changed files with 11 additions and 11 deletions
18
flake.nix
18
flake.nix
|
@ -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;
|
||||||
}
|
}];
|
||||||
];
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue