nixos/cosmic: add helper function to check for excluded package
This commit is contained in:
parent
d22ec36762
commit
83a5712b72
@ -13,6 +13,7 @@
|
|||||||
|
|
||||||
let
|
let
|
||||||
cfg = config.services.desktopManager.cosmic;
|
cfg = config.services.desktopManager.cosmic;
|
||||||
|
notExcluded = pkg: utils.disablePackageByName pkg config.environment.cosmic.excludePackages;
|
||||||
excludedCorePkgs = lib.lists.intersectLists corePkgs config.environment.cosmic.excludePackages;
|
excludedCorePkgs = lib.lists.intersectLists corePkgs config.environment.cosmic.excludePackages;
|
||||||
# **ONLY ADD PACKAGES WITHOUT WHICH COSMIC CRASHES, NOTHING ELSE**
|
# **ONLY ADD PACKAGES WITHOUT WHICH COSMIC CRASHES, NOTHING ELSE**
|
||||||
corePkgs =
|
corePkgs =
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user