all application options will adapt to environment

when used either with nixos (no home-manager) or home-manager standalone, `features.applications.<name>.enable` options still perform some functionality, rather than assuming a full nixos + home-manager setup like before
This commit is contained in:
greyweather committed 2026-08-29 13:48:20 +01:00
1 parent 2ca8b405e8
commit 7f49c289d5
17 files changed
+265 -151

No files matched your search

+8
View File
@@ -15,6 +15,14 @@
useUserPackages = true;
backupFileExtension = "bak";
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 {})
)
];
};
};
}