summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Cullmann <christoph@cullmann.io>2024-07-15 22:12:39 +0200
committerChristoph Cullmann <christoph@cullmann.io>2024-07-15 22:12:39 +0200
commit2f44877a394baacf3cc8bca6441a87cd3f14d5b6 (patch)
tree48a2c02f521399d5ce82af35992105cbb02097dd
parent4b8480e572cc01add2102e245a40150e4bf07f67 (diff)
use SDDM again
-rw-r--r--share/common.nix11
1 files changed, 3 insertions, 8 deletions
diff --git a/share/common.nix b/share/common.nix
index 00ad551..5ccd71e 100644
--- a/share/common.nix
+++ b/share/common.nix
@@ -208,19 +208,14 @@ in
# use X11/wayland layout for console, too
console.useXkbConfig = true;
- # enable greetd & the KDE Plasma Desktop Environment
+ # enable SDDM & the KDE Plasma Desktop Environment with Wayland
services.desktopManager.plasma6.enable = true;
- services.greetd = {
+ services.displayManager.sddm = {
enable = true;
- settings = {
- default_session = {
- command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --cmd '${pkgs.kdePackages.plasma-workspace}/libexec/plasma-dbus-run-session-if-needed ${pkgs.kdePackages.plasma-workspace}/bin/startplasma-wayland'";
- };
- };
+ wayland.enable = true;
};
# enable sound with PipeWire
- sound.enable = true;
hardware.pulseaudio.enable = false;
services.pipewire = {
enable = true;