about summary refs log tree commit diff
diff options
context:
space:
mode:
authorworldofpeace <worldofpeace@protonmail.ch>2020-05-05 15:47:25 -0400
committerGitHub <noreply@github.com>2020-05-05 15:47:25 -0400
commit4ad2e1c92e6c8cf3702785d9d28f580625f19eb0 (patch)
tree62719342b8eb745bf8c4c070d6ffe3fb78be313a
parenteb264a949d08189ce21d1a5e1d03ec0f752732be (diff)
parentc04989da245dd545bf589d4172198a746a6becd4 (diff)
downloadnixlib-4ad2e1c92e6c8cf3702785d9d28f580625f19eb0.tar
nixlib-4ad2e1c92e6c8cf3702785d9d28f580625f19eb0.tar.gz
nixlib-4ad2e1c92e6c8cf3702785d9d28f580625f19eb0.tar.bz2
nixlib-4ad2e1c92e6c8cf3702785d9d28f580625f19eb0.tar.lz
nixlib-4ad2e1c92e6c8cf3702785d9d28f580625f19eb0.tar.xz
nixlib-4ad2e1c92e6c8cf3702785d9d28f580625f19eb0.tar.zst
nixlib-4ad2e1c92e6c8cf3702785d9d28f580625f19eb0.zip
Merge pull request #86908 from cptMikky/pantheon-nodefault
nixos/pantheon: mkDefault value for defaultSession
-rw-r--r--nixos/modules/services/x11/desktop-managers/pantheon.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/x11/desktop-managers/pantheon.nix b/nixos/modules/services/x11/desktop-managers/pantheon.nix
index 01fe230b8a43..5fcc8590232a 100644
--- a/nixos/modules/services/x11/desktop-managers/pantheon.nix
+++ b/nixos/modules/services/x11/desktop-managers/pantheon.nix
@@ -109,7 +109,7 @@ in
 
       # Without this, elementary LightDM greeter will pre-select non-existent `default` session
       # https://github.com/elementary/greeter/issues/368
-      services.xserver.displayManager.defaultSession = "pantheon";
+      services.xserver.displayManager.defaultSession = mkDefault "pantheon";
 
       services.xserver.displayManager.sessionCommands = ''
         if test "$XDG_CURRENT_DESKTOP" = "Pantheon"; then