mirror of
https://github.com/danth/stylix
synced 2024-11-10 06:34:15 +00:00
parent
659dd55a32
commit
5234b3d467
1 changed files with 3 additions and 6 deletions
|
@ -5,12 +5,9 @@ let
|
|||
|
||||
in {
|
||||
options.stylix.targets.gnome.enable =
|
||||
lib.mkOption {
|
||||
description = "Whether to style GNOME and GDM";
|
||||
type = lib.types.bool;
|
||||
default = config.stylix.autoEnable
|
||||
&& config.services.xserver.desktopManager.gnome.enable;
|
||||
};
|
||||
config.lib.stylix.mkEnableTarget
|
||||
"GNOME and GDM"
|
||||
config.services.xserver.desktopManager.gnome.enable;
|
||||
|
||||
config = lib.mkIf config.stylix.targets.gnome.enable {
|
||||
# As Stylix is controlling the wallpaper, there is no need for this
|
||||
|
|
Loading…
Reference in a new issue