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";