From 3d33f4710ffe42e0caf91763aa1fcbbafbda7060 Mon Sep 17 00:00:00 2001 From: Lillian-Violet Date: Fri, 12 Apr 2024 16:56:15 +0200 Subject: [PATCH] Some sddm options changed name, refactor --- nixos/desktop/default.nix | 8 +++++--- nixos/hosts/shodan/configuration.nix | 6 +++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/nixos/desktop/default.nix b/nixos/desktop/default.nix index 8d99a78..9153254 100644 --- a/nixos/desktop/default.nix +++ b/nixos/desktop/default.nix @@ -98,10 +98,12 @@ services.xserver.enable = true; # Enable the KDE Plasma Desktop Environment. - services.xserver.displayManager.sddm.wayland.enable = true; - services.xserver.displayManager.sddm.enable = true; + services.displayManager.sddm = { + enable = true; + wayland.enable = true; + }; + services.displayManager.defaultSession = "plasma"; services.desktopManager.plasma6.enable = true; - services.xserver.displayManager.defaultSession = "plasma"; programs.kdeconnect.enable = true; # Enable flatpak support diff --git a/nixos/hosts/shodan/configuration.nix b/nixos/hosts/shodan/configuration.nix index d479c9d..676c61b 100644 --- a/nixos/hosts/shodan/configuration.nix +++ b/nixos/hosts/shodan/configuration.nix @@ -120,9 +120,9 @@ services.desktopManager.plasma6.enable = true; programs.kdeconnect.enable = true; - services.xserver.displayManager.defaultSession = "plasma"; - services.xserver.displayManager.sddm.wayland.enable = lib.mkForce true; - services.xserver.displayManager.sddm.settings = { + services.displayManager.defaultSession = "plasma"; + services.displayManager.sddm.wayland.enable = lib.mkForce true; + services.displayManager.sddm.settings = { Autologin = { Session = "plasma.desktop"; User = "lillian";