lol

Merge pull request #22433 from laMudri/xfwm-option

xfce: make xfwm optional

authored by

Joachim F and committed by
GitHub
ecdfffd9 f149a323

+7 -1
+7 -1
nixos/modules/services/x11/desktop-managers/xfce.nix
··· 41 Shell commands executed just before XFCE is started. 42 ''; 43 }; 44 }; 45 46 }; ··· 87 pkgs.xfce.xfce4volumed 88 pkgs.xfce.xfce4-screenshooter 89 pkgs.xfce.xfconf 90 - pkgs.xfce.xfwm4 91 # This supplies some "abstract" icons such as 92 # "utilities-terminal" and "accessories-text-editor". 93 pkgs.gnome3.defaultIconTheme ··· 99 pkgs.xfce.xfce4_appfinder 100 pkgs.xfce.tumbler # found via dbus 101 ] 102 ++ optional config.powerManagement.enable pkgs.xfce.xfce4_power_manager 103 ++ optional config.networking.networkmanager.enable pkgs.networkmanagerapplet 104 ++ optionals (!cfg.noDesktop)
··· 41 Shell commands executed just before XFCE is started. 42 ''; 43 }; 44 + 45 + enableXfwm = mkOption { 46 + type = types.bool; 47 + default = true; 48 + description = "Enable the XFWM (default) window manager."; 49 + }; 50 }; 51 52 }; ··· 93 pkgs.xfce.xfce4volumed 94 pkgs.xfce.xfce4-screenshooter 95 pkgs.xfce.xfconf 96 # This supplies some "abstract" icons such as 97 # "utilities-terminal" and "accessories-text-editor". 98 pkgs.gnome3.defaultIconTheme ··· 104 pkgs.xfce.xfce4_appfinder 105 pkgs.xfce.tumbler # found via dbus 106 ] 107 + ++ optional cfg.enableXfwm pkgs.xfce.xfwm4 108 ++ optional config.powerManagement.enable pkgs.xfce.xfce4_power_manager 109 ++ optional config.networking.networkmanager.enable pkgs.networkmanagerapplet 110 ++ optionals (!cfg.noDesktop)