-
-
Save msteen/36d4824e617f8ce601e9717fc759ef12 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ lib, pkgs }: | |
with lib; | |
{ | |
environment.gnome3.excludePackages = | |
let | |
pkgName = drv: (builtins.parseDrvName drv.name).name; | |
blacklist = pkgs.gnome3.optionalPackages; | |
whitelist = with pkgs.gnome3; [ totem ]; | |
whitelistPkgNames = map pkgName whitelist; | |
in filter (drv: !(elem (pkgName drv) whitelistPkgNames)) blacklist; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment