From fbd2923e9fdce243a9b46c2e4fb9366d3af8ff5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charlotte=20=F0=9F=A6=9D=20Delenk?= Date: Tue, 8 Oct 2024 08:32:09 +0200 Subject: [PATCH] fix sddm on devterm --- config/devterm.nix | 9 +++++++++ config/kde.nix | 1 + 2 files changed, 10 insertions(+) diff --git a/config/devterm.nix b/config/devterm.nix index 16459329..65cf8ddd 100644 --- a/config/devterm.nix +++ b/config/devterm.nix @@ -102,4 +102,13 @@ }; boot.initrd.systemd.tpm2.enable = lib.mkForce false; systemd.tpm2.enable = lib.mkForce false; + services.displayManager = { + autoLogin = { + enable = true; + user = "darkkirb"; + }; + sddm = { + autoLogin.relogin = true; + }; + }; } diff --git a/config/kde.nix b/config/kde.nix index 04d9c399..61bc131c 100644 --- a/config/kde.nix +++ b/config/kde.nix @@ -3,6 +3,7 @@ services.xserver = { displayManager.sddm.enable = true; displayManager.sddm.wayland.enable = true; + displayManager.sddm.wayland.compositor = "kwin"; #desktopManager.plasma6.enable = true; desktopManager.plasma5.enable = true; #displayManager.defaultSession = "plasma";