nixos/cinnamon: make it possible to remove more non-essential packages

Packages for accessibility and theme can now be removed with excludePackages
This commit is contained in:
Bobby Rong 2022-11-09 22:40:05 +08:00
parent bb30779791
commit ba4494f8f6
No known key found for this signature in database

View File

@ -123,11 +123,8 @@ in
cinnamon-screensaver = {};
};
environment.systemPackages = with pkgs.cinnamon // pkgs; [
environment.systemPackages = with pkgs.cinnamon // pkgs; ([
desktop-file-utils
nixos-artwork.wallpapers.simple-dark-gray
onboard
sound-theme-freedesktop
# common-files
cinnamon-common
@ -152,22 +149,29 @@ in
cinnamon-control-center
cinnamon-settings-daemon
libgnomekbd
orca
# theme
gnome.adwaita-icon-theme
gnome.gnome-themes-extra
gtk3.out
# other
glib # for gsettings
xdg-user-dirs
] ++ utils.removePackagesByName [
# accessibility
onboard
orca
# theme
sound-theme-freedesktop
nixos-artwork.wallpapers.simple-dark-gray
mint-artwork
mint-themes
mint-x-icons
mint-y-icons
vanilla-dmz
# other
glib # for gsettings
xdg-user-dirs
];
] config.environment.cinnamon.excludePackages);
xdg.mime.enable = true;
xdg.icons.enable = true;