From 0806a8e203f01a82f41b5d7fa430faf880b8a6a9 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Sun, 13 Sep 2009 13:40:06 +0000 Subject: [PATCH] * Support the custom session type (i.e. ~/.xsession) in SLiM. svn path=/nixos/trunk/; revision=17088 --- modules/services/x11/display-managers/slim.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/services/x11/display-managers/slim.nix b/modules/services/x11/display-managers/slim.nix index acef3879107a..f8985f36b525 100644 --- a/modules/services/x11/display-managers/slim.nix +++ b/modules/services/x11/display-managers/slim.nix @@ -12,7 +12,7 @@ let xauth_path ${dmcfg.xauthBin} default_xserver ${dmcfg.xserverBin} xserver_arguments ${dmcfg.xserverArgs} - sessions ${pkgs.lib.concatStringsSep "," dmcfg.session.names} + sessions ${pkgs.lib.concatStringsSep "," (dmcfg.session.names ++ ["custom"])} login_cmd exec ${pkgs.stdenv.bash}/bin/sh ${dmcfg.session.script} "%session" halt_cmd ${pkgs.upstart}/sbin/shutdown -h now reboot_cmd ${pkgs.upstart}/sbin/shutdown -r now