summary refs log tree commit diff
path: root/nixos/modules/services/x11/display-managers/sddm.nix
diff options
context:
space:
mode:
authorJan Tojnar <jtojnar@gmail.com>2018-05-02 02:31:18 +0200
committerJan Tojnar <jtojnar@gmail.com>2018-08-01 19:14:29 +0200
commita8c6489fd47027efe21932650e0a69cb4b46a887 (patch)
tree319c73ec3393e8b41eab52d70071fc119ec370d8 /nixos/modules/services/x11/display-managers/sddm.nix
parent7c585235ff66634137c61991c9b05f9de2b48e44 (diff)
downloadnixpkgs-a8c6489fd47027efe21932650e0a69cb4b46a887.tar
nixpkgs-a8c6489fd47027efe21932650e0a69cb4b46a887.tar.gz
nixpkgs-a8c6489fd47027efe21932650e0a69cb4b46a887.tar.bz2
nixpkgs-a8c6489fd47027efe21932650e0a69cb4b46a887.tar.lz
nixpkgs-a8c6489fd47027efe21932650e0a69cb4b46a887.tar.xz
nixpkgs-a8c6489fd47027efe21932650e0a69cb4b46a887.tar.zst
nixpkgs-a8c6489fd47027efe21932650e0a69cb4b46a887.zip
nixos/services.xserver.displayManager: move X sessions to a subdirectory
Previously, the mkDesktops function produced a flat package containing
session files in the top level. As a preparation for introduction of
Wayland sessions, the files will now be placed to $out/share/xsessions.
Diffstat (limited to 'nixos/modules/services/x11/display-managers/sddm.nix')
-rw-r--r--nixos/modules/services/x11/display-managers/sddm.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/x11/display-managers/sddm.nix b/nixos/modules/services/x11/display-managers/sddm.nix
index 426b899586f..c6a150e3170 100644
--- a/nixos/modules/services/x11/display-managers/sddm.nix
+++ b/nixos/modules/services/x11/display-managers/sddm.nix
@@ -50,7 +50,7 @@ let
     ServerPath=${xserverWrapper}
     XephyrPath=${pkgs.xorg.xorgserver.out}/bin/Xephyr
     SessionCommand=${dmcfg.session.script}
-    SessionDir=${dmcfg.session.desktops}
+    SessionDir=${dmcfg.session.desktops}/share/xsessions
     XauthPath=${pkgs.xorg.xauth}/bin/xauth
     DisplayCommand=${Xsetup}
     DisplayStopCommand=${Xstop}