summary refs log tree commit diff
path: root/nixos/modules/services/x11/desktop-managers
diff options
context:
space:
mode:
authorThomas Tuegel <ttuegel@mailbox.org>2021-11-06 09:55:47 -0500
committerGitHub <noreply@github.com>2021-11-06 09:55:47 -0500
commita506f9c79700255c215dddb53455d5e2bed6c1af (patch)
tree00e618aa4f4e6212a81e89ae21a513db7392eada /nixos/modules/services/x11/desktop-managers
parent2e435a34d5bf50cda3883bdb07d6dd03f899b54c (diff)
parentad20e87e39749f1b6176f06e8d9bbb653738f020 (diff)
downloadnixpkgs-a506f9c79700255c215dddb53455d5e2bed6c1af.tar
nixpkgs-a506f9c79700255c215dddb53455d5e2bed6c1af.tar.gz
nixpkgs-a506f9c79700255c215dddb53455d5e2bed6c1af.tar.bz2
nixpkgs-a506f9c79700255c215dddb53455d5e2bed6c1af.tar.lz
nixpkgs-a506f9c79700255c215dddb53455d5e2bed6c1af.tar.xz
nixpkgs-a506f9c79700255c215dddb53455d5e2bed6c1af.tar.zst
nixpkgs-a506f9c79700255c215dddb53455d5e2bed6c1af.zip
Merge pull request #143673 from oxalica/fix/sddm-default-session
plasma5: set default session to plasma X11 and fix sddm
Diffstat (limited to 'nixos/modules/services/x11/desktop-managers')
-rw-r--r--nixos/modules/services/x11/desktop-managers/plasma5.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/nixos/modules/services/x11/desktop-managers/plasma5.nix b/nixos/modules/services/x11/desktop-managers/plasma5.nix
index 52b641e23bd..8a1793484e2 100644
--- a/nixos/modules/services/x11/desktop-managers/plasma5.nix
+++ b/nixos/modules/services/x11/desktop-managers/plasma5.nix
@@ -189,6 +189,10 @@ in
       ];
 
       services.xserver.displayManager.sessionPackages = [ pkgs.libsForQt5.plasma5.plasma-workspace ];
+      # Default to be `plasma` (X11) instead of `plasmawayland`, since plasma wayland currently has
+      # many tiny bugs.
+      # See: https://github.com/NixOS/nixpkgs/issues/143272
+      services.xserver.displayManager.defaultSession = mkDefault "plasma";
 
       security.wrappers = {
         kcheckpass = {