fix problems rebuilding, make niri and noctalia more HM friendly

added `inputs` to `extraSpecialArgs`, giving homeModules access to helper functions
cleaned up the logic for the stylix file, removing the final `sharedModules` in the process in favour of `home-manager.users.grey`
This commit is contained in:
greyweather committed 2026-08-30 00:31:13 +01:00
1 parent 49985ce9a3
commit 06e958ae71
8 files changed
+133 -79

No files matched your search

+4 -8
View File
@@ -14,15 +14,11 @@
useGlobalPkgs = true;
useUserPackages = true;
backupFileExtension = "bak";
extraSpecialArgs = {
inherit inputs;
};
users.grey = self.homeModules.${config.info.hostName};
sharedModules = [
{ features.nixos.stylix.enable = lib.mkDefault config.features.nixos.stylix.enable; }
( lib.mkIf (config.features.nixos.stylix.enable)
( if (config.features.applications.gui.floorp.enable) then {
stylix.targets.floorp.profileNames = [ "default" ];
} else {})
)
];
};
};
}