summary refs log tree commit diff stats
path: root/system
diff options
context:
space:
mode:
authorAlan Pearce2024-04-14 15:13:02 +0200
committerAlan Pearce2024-04-14 15:13:02 +0200
commit680f1c08790d2f0769623e6513819035eae755b0 (patch)
tree494fd6de4de0ae2beaed9d25be19b098d1fdffdf /system
parent4d4a6d13ae5f5c7a2e6db28217d79bfe1be5f366 (diff)
downloadnixfiles-680f1c08790d2f0769623e6513819035eae755b0.tar.lz
nixfiles-680f1c08790d2f0769623e6513819035eae755b0.tar.zst
nixfiles-680f1c08790d2f0769623e6513819035eae755b0.zip
Migrate to new displayManager config schema
Diffstat (limited to 'system')
-rw-r--r--system/settings/hardware/nvidia-gpu.nix2
-rw-r--r--system/settings/programs/kde.nix6
2 files changed, 3 insertions, 5 deletions
diff --git a/system/settings/hardware/nvidia-gpu.nix b/system/settings/hardware/nvidia-gpu.nix
index bba026f4..e1c50d2e 100644
--- a/system/settings/hardware/nvidia-gpu.nix
+++ b/system/settings/hardware/nvidia-gpu.nix
@@ -18,5 +18,5 @@
     enable = lib.mkDefault true;
   };
 
-  services.xserver.displayManager.sddm.wayland.enable = false;
+  services.displayManager.sddm.wayland.enable = false;
 }
diff --git a/system/settings/programs/kde.nix b/system/settings/programs/kde.nix
index b150f76a..5a214ada 100644
--- a/system/settings/programs/kde.nix
+++ b/system/settings/programs/kde.nix
@@ -8,10 +8,8 @@ with lib; {
     desktopManager = {
       plasma6.enable = true;
     };
-    xserver = {
-      displayManager = {
-        sddm.enable = true;
-      };
+    displayManager = {
+      sddm.enable = true;
     };
 
     physlock.enable = lib.mkForce false;