diff options
author | Alexander Bantyev <balsoft@balsoft.ru> | 2022-03-14 15:26:58 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-14 15:26:58 +0300 |
commit | 8eb9d6c0d4d8f744b9c347a5f26c90f5f0e1e830 (patch) | |
tree | 76b46edb0c2290972da33a2b9d0e317d4fd82d9f /nixos/modules | |
parent | 3081771c21b6804ba2df6884b3e21db84dd5aad1 (diff) | |
parent | dd510b9053e38ac176cdc3fdd042d82cb4ff088e (diff) |
Merge pull request #163622 from ilya-fedin/mate-allow-remove-any-package
nixos/mate: allow remove any added package
Diffstat (limited to 'nixos/modules')
-rw-r--r-- | nixos/modules/services/x11/desktop-managers/mate.nix | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/nixos/modules/services/x11/desktop-managers/mate.nix b/nixos/modules/services/x11/desktop-managers/mate.nix index f8f47a061452..a7fda4be9796 100644 --- a/nixos/modules/services/x11/desktop-managers/mate.nix +++ b/nixos/modules/services/x11/desktop-managers/mate.nix @@ -74,11 +74,9 @@ in # Debugging environment.sessionVariables.MATE_SESSION_DEBUG = mkIf cfg.debug "1"; - environment.systemPackages = - pkgs.mate.basePackages ++ - (pkgs.gnome.removePackagesByName - pkgs.mate.extraPackages - config.environment.mate.excludePackages) ++ + environment.systemPackages = pkgs.gnome.removePackagesByName + (pkgs.mate.basePackages ++ + pkgs.mate.extraPackages ++ [ pkgs.desktop-file-utils pkgs.glib @@ -87,7 +85,8 @@ in pkgs.xdg-user-dirs # Update user dirs as described in https://freedesktop.org/wiki/Software/xdg-user-dirs/ pkgs.mate.mate-settings-daemon pkgs.yelp # for 'Contents' in 'Help' menus - ]; + ]) + config.environment.mate.excludePackages; programs.dconf.enable = true; # Shell integration for VTE terminals |