diff options
author | Bobby Rong <rjl931189261@126.com> | 2024-04-10 20:47:15 +0800 |
---|---|---|
committer | Bobby Rong <rjl931189261@126.com> | 2024-04-10 21:14:43 +0800 |
commit | 14c7a500c0939d8251a60ca0932bba3fca3b1737 (patch) | |
tree | 88b2aadcad161c21b8e3d5c8871ed74cf17c13d0 /nixos/modules/services/x11 | |
parent | ff0dbd94265ac470dda06a657d5fe49de93b4599 (diff) |
nixos/cinnamon: Don't enable modules for excludePackages
ref: bc970e94e786d554237c931457ac50f5c415b9f0
ref: nixpkgs issue 299877
Diffstat (limited to 'nixos/modules/services/x11')
-rw-r--r-- | nixos/modules/services/x11/desktop-managers/cinnamon.nix | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/nixos/modules/services/x11/desktop-managers/cinnamon.nix b/nixos/modules/services/x11/desktop-managers/cinnamon.nix index f5a6c05865c4..a23b680ec254 100644 --- a/nixos/modules/services/x11/desktop-managers/cinnamon.nix +++ b/nixos/modules/services/x11/desktop-managers/cinnamon.nix @@ -95,7 +95,7 @@ in ''; # Default services - services.blueman.enable = mkDefault true; + services.blueman.enable = mkDefault (notExcluded pkgs.blueman); hardware.bluetooth.enable = mkDefault true; hardware.pulseaudio.enable = mkDefault true; security.polkit.enable = true; @@ -228,10 +228,10 @@ in }) (mkIf serviceCfg.apps.enable { - programs.geary.enable = mkDefault true; - programs.gnome-disks.enable = mkDefault true; - programs.gnome-terminal.enable = mkDefault true; - programs.file-roller.enable = mkDefault true; + programs.geary.enable = mkDefault (notExcluded pkgs.gnome.geary); + programs.gnome-disks.enable = mkDefault (notExcluded pkgs.gnome.gnome-disk-utility); + programs.gnome-terminal.enable = mkDefault (notExcluded pkgs.gnome.gnome-terminal); + programs.file-roller.enable = mkDefault (notExcluded pkgs.gnome.file-roller); environment.systemPackages = with pkgs // pkgs.gnome // pkgs.cinnamon; utils.removePackagesByName [ # cinnamon team apps |