From f50b90ba94be5dc56769ff292082679e8a2b6a6e Mon Sep 17 00:00:00 2001 From: Bun Date: Mon, 12 May 2025 04:07:39 -0400 Subject: [PATCH] Push an ugly dumb hm standardization --- flake.nix | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/flake.nix b/flake.nix index db09545b..6c46828e 100644 --- a/flake.nix +++ b/flake.nix @@ -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; + }]; }; } );