nixos/cosmic: add helper function to check for excluded package

This commit is contained in:
Pratham Patel 2025-06-17 20:28:32 +05:30
parent d22ec36762
commit 83a5712b72
No known key found for this signature in database

View File

@ -13,6 +13,7 @@
let
cfg = config.services.desktopManager.cosmic;
notExcluded = pkg: utils.disablePackageByName pkg config.environment.cosmic.excludePackages;
excludedCorePkgs = lib.lists.intersectLists corePkgs config.environment.cosmic.excludePackages;
# **ONLY ADD PACKAGES WITHOUT WHICH COSMIC CRASHES, NOTHING ELSE**
corePkgs =