-
-
Save anonymous/0180264db635408d58fb6b9a143f0614 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/nixos/modules/services/x11/display-managers/sddm.nix b/nixos/modules/services/x11/display-managers/sddm.nix | |
index 9cc0d3c50e..a6c29aa363 100644 | |
--- a/nixos/modules/services/x11/display-managers/sddm.nix | |
+++ b/nixos/modules/services/x11/display-managers/sddm.nix | |
@@ -74,6 +74,10 @@ let | |
Relogin=${boolToString cfg.autoLogin.relogin} | |
''} | |
+ [Wayland] | |
+ SessionCommand=${lib.getBin pkgs.sddm}/share/sddm/scripts/wayland-session | |
+ SessionDir=/etc/wayland | |
+ | |
${cfg.extraConfig} | |
''; | |
@@ -265,6 +269,16 @@ in | |
environment.etc."sddm.conf".source = cfgFile; | |
+ environment.etc."wayland/plasma-wayland.desktop".text = '' | |
+ [Desktop Entry] | |
+ Encoding=UTF-8 | |
+ Type=Application | |
+ Exec=${lib.getBin pkgs.plasma-workspace}/bin/startplasmacompositor | |
+ TryExec=${lib.getBin pkgs.plasma-workspace}/bin/startplasmacompositor | |
+ DesktopNames=KDE | |
+ Name=Plasma-wayland | |
+ ''; | |
+ | |
users.extraGroups.sddm.gid = config.ids.gids.sddm; | |
environment.systemPackages = [ sddm ]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment