From b234d49f148463fd6d6c8c3fa19b8d229b69d4a3 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Thu, 30 May 2024 01:45:26 +0200 Subject: [PATCH] adapt displayManager options --- hosts/talos/default.nix | 4 ++-- modules/sddm.nix | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/hosts/talos/default.nix b/hosts/talos/default.nix index 9da872c..16d0d00 100644 --- a/hosts/talos/default.nix +++ b/hosts/talos/default.nix @@ -148,11 +148,11 @@ services.xserver.enable = true; # Enable the KDE Plasma Desktop Environment. - services.xserver.displayManager.sddm = { + services.displayManager.sddm = { enable = true; wayland.enable = true; }; - services.xserver.displayManager.defaultSession = "plasmawayland"; + services.displayManager.defaultSession = "plasmawayland"; services.xserver.desktopManager.plasma5.enable = true; services.power-profiles-daemon.enable = true; diff --git a/modules/sddm.nix b/modules/sddm.nix index ee50f5e..41941ba 100644 --- a/modules/sddm.nix +++ b/modules/sddm.nix @@ -15,7 +15,7 @@ in { options.my.displayManager.sddm.enable = mkEnableOption "SDDM setup"; config = mkIf cfg.enable { - services.xserver.displayManager.sddm = { + services.displayManager.sddm = { enable = true; theme = "sugar-candy"; };