diff --git a/modules/system/desktop/gnome/default.nix b/modules/system/desktop/gnome/default.nix index d47fdad..e15ae04 100644 --- a/modules/system/desktop/gnome/default.nix +++ b/modules/system/desktop/gnome/default.nix @@ -9,13 +9,19 @@ in enable = mkEnableOption '' Enable gnome with my custom configurations ''; + + enableGdm = mkOption { + type = types.bool; + description = "Enable gdm with custom gnome"; + default = true; + }; }; config = mkIf cfg.enable { # Enable the X11 windowing system. services.xserver.enable = true; # Enable the Gnome Desktop Environment. - services.xserver.displayManager.gdm.enable = true; + services.xserver.displayManager.gdm.enable = cfg.enableGdm; # Enable the GNOME shell. services.xserver.desktopManager.gnome.enable = true; diff --git a/modules/system/desktop/plasma/default.nix b/modules/system/desktop/plasma/default.nix index 0cc1939..6524b75 100644 --- a/modules/system/desktop/plasma/default.nix +++ b/modules/system/desktop/plasma/default.nix @@ -17,6 +17,12 @@ in enableWallpaperEngine = mkEnableOption '' Enable wallpaper engine plugin for plasma ''; + + enableSddm = mkOption { + type = types.bool; + description = "Enable sddm with custom plasma"; + default = true; + }; }; config = mkIf cfg.enable { # Enable the X11 windowing system. @@ -24,7 +30,7 @@ in # Enable the KDE Plasma Desktop Environment. services.displayManager = { - sddm.enable = true; + sddm.enable = cfg.enableSddm; defaultSession = "plasma"; }; services.desktopManager.plasma6.enable = true;