diff options
author | Bobby Rong <rjl931189261@126.com> | 2022-11-09 22:40:05 +0800 |
---|---|---|
committer | Bobby Rong <rjl931189261@126.com> | 2022-11-10 14:47:06 +0800 |
commit | ba4494f8f67b3a160ecfd24391cea477f6a4ff6a (patch) | |
tree | df31943116837a20ddf2c82d65fb905756b63306 /nixos/modules/services | |
parent | bb307797918a9b3a5c0e1c50ecdc7db154eb1944 (diff) |
nixos/cinnamon: make it possible to remove more non-essential packages
Packages for accessibility and theme can now be removed with excludePackages
Diffstat (limited to 'nixos/modules/services')
-rw-r--r-- | nixos/modules/services/x11/desktop-managers/cinnamon.nix | 24 |
1 files changed, 14 insertions, 10 deletions
diff --git a/nixos/modules/services/x11/desktop-managers/cinnamon.nix b/nixos/modules/services/x11/desktop-managers/cinnamon.nix index 5548d7a3eef2a..1bc5d108af0ae 100644 --- a/nixos/modules/services/x11/desktop-managers/cinnamon.nix +++ b/nixos/modules/services/x11/desktop-managers/cinnamon.nix @@ -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; |