diff options
author | Bobby Rong <rjl931189261@126.com> | 2024-04-10 21:33:34 +0800 |
---|---|---|
committer | Bobby Rong <rjl931189261@126.com> | 2024-04-10 21:33:34 +0800 |
commit | 2a8a59aebb851f48004c5b659909f3fb2c4bd189 (patch) | |
tree | f698908adcd5dda98de9633bfedb529bfef99667 /nixos/modules/services/x11 | |
parent | a6ada0502be8e784b08b24dd023f3653499bd526 (diff) |
nixos/budgie: 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/budgie.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/nixos/modules/services/x11/desktop-managers/budgie.nix b/nixos/modules/services/x11/desktop-managers/budgie.nix index 466ef5c565b7..e39507622cde 100644 --- a/nixos/modules/services/x11/desktop-managers/budgie.nix +++ b/nixos/modules/services/x11/desktop-managers/budgie.nix @@ -43,6 +43,8 @@ let budgie-control-center = pkgs.budgie.budgie-control-center.override { enableSshSocket = config.services.openssh.startWhenNeeded; }; + + notExcluded = pkg: (!(lib.elem pkg config.environment.budgie.excludePackages)); in { meta.maintainers = lib.teams.budgie.members; @@ -160,7 +162,7 @@ in { ++ cfg.sessionPath; # Both budgie-desktop-view and nemo defaults to this emulator. - programs.gnome-terminal.enable = mkDefault true; + programs.gnome-terminal.enable = mkDefault (notExcluded pkgs.gnome.gnome-terminal); # Fonts. fonts.packages = [ |