nixos/budgie: Don't enable modules for excludePackages
ref: bc970e94e7
ref: nixpkgs issue 299877
This commit is contained in:
parent
a6ada0502b
commit
2a8a59aebb
2 changed files with 7 additions and 1 deletions
|
@ -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 = [
|
||||
|
|
|
@ -18,6 +18,10 @@ import ./make-test-python.nix ({ pkgs, lib, ... }: {
|
|||
};
|
||||
};
|
||||
|
||||
# We don't ship gnome-text-editor in Budgie module, we add this line mainly
|
||||
# to catch eval issues related to this option.
|
||||
environment.budgie.excludePackages = [ pkgs.gnome-text-editor ];
|
||||
|
||||
services.xserver.desktopManager.budgie = {
|
||||
enable = true;
|
||||
extraPlugins = [
|
||||
|
|
Loading…
Reference in a new issue