summary refs log tree commit diff stats
path: root/system
diff options
context:
space:
mode:
authorAlan Pearce2024-05-18 15:03:26 +0200
committerAlan Pearce2024-05-18 19:04:50 +0200
commit3ba787dc4eefc243aa18f8bdc7859bc2d79957af (patch)
tree4277b6d9681a3bae416b13b320829a7a85a09905 /system
parentb0c7d7a59e514df8ff7775c6611a058476a7c2dc (diff)
downloadnixfiles-3ba787dc4eefc243aa18f8bdc7859bc2d79957af.tar.lz
nixfiles-3ba787dc4eefc243aa18f8bdc7859bc2d79957af.tar.zst
nixfiles-3ba787dc4eefc243aa18f8bdc7859bc2d79957af.zip
kde: move Hidpi setting
Diffstat (limited to 'system')
-rw-r--r--system/prefect.nix3
-rw-r--r--system/settings/programs/kde.nix5
2 files changed, 4 insertions, 4 deletions
diff --git a/system/prefect.nix b/system/prefect.nix
index 8474b0a5..a63bc05a 100644
--- a/system/prefect.nix
+++ b/system/prefect.nix
@@ -46,9 +46,6 @@
     user = "alan";
     enable = true;
   };
-  services.displayManager.sddm = {
-    enableHidpi = false;
-  };
 
   boot.kernelPackages = pkgs.linuxPackages_xanmod;
   boot.extraModulePackages = with config.boot.kernelPackages; [
diff --git a/system/settings/programs/kde.nix b/system/settings/programs/kde.nix
index 1a753cf2..0e188ca1 100644
--- a/system/settings/programs/kde.nix
+++ b/system/settings/programs/kde.nix
@@ -9,7 +9,10 @@ with lib; {
       plasma6.enable = true;
     };
     displayManager = {
-      sddm.enable = true;
+      sddm = {
+        enable = true;
+        enableHidpi = lib.mkDefault false;
+      };
     };
 
     physlock.enable = lib.mkForce false;