Add option to disable displayManager with desktopManager
This commit is contained in:
parent
fe7d6ced06
commit
3ae0a6f1b2
2 changed files with 14 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue