about summary refs log tree commit diff
path: root/nixos/modules/profiles/graphical.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/profiles/graphical.nix')
-rw-r--r--nixos/modules/profiles/graphical.nix7
1 files changed, 3 insertions, 4 deletions
diff --git a/nixos/modules/profiles/graphical.nix b/nixos/modules/profiles/graphical.nix
index d80456cede565..8cc31652f8075 100644
--- a/nixos/modules/profiles/graphical.nix
+++ b/nixos/modules/profiles/graphical.nix
@@ -6,13 +6,12 @@
 {
   services.xserver = {
     enable = true;
-    displayManager.sddm.enable = true;
-    desktopManager.plasma5 = {
-      enable = true;
-    };
+    desktopManager.plasma5.enable = true;
     libinput.enable = true; # for touchpad support on many laptops
   };
 
+  services.displayManager.sddm.enable = true;
+
   # Enable sound in virtualbox appliances.
   hardware.pulseaudio.enable = true;