nixos/pantheon: Switch notExcluded to disablePackageByName

Previously, this check was inconsistent with `removePackagesByName` – the latter compares the packages using their names.
This commit is contained in:
Jan Tojnar
2024-12-04 22:31:35 +01:00
parent e221971ee7
commit c4ed78b5a0
@@ -12,7 +12,7 @@ let
extraGSettingsOverrides = cfg.extraGSettingsOverrides;
};
notExcluded = pkg: (!(lib.elem pkg config.environment.pantheon.excludePackages));
notExcluded = pkg: utils.disablePackageByName pkg config.environment.pantheon.excludePackages;
in
{