stumpwm: don't block after starting stumpwm

This is important to let nixos configure everything, e.g., a desktop
manager.
This commit is contained in:
Damien Cassou 2015-06-24 13:58:37 +02:00
parent e1af50c4c4
commit 0bd3737bd0

View File

@ -21,9 +21,10 @@ in
config = mkIf cfg.enable {
services.xserver.windowManager.session = singleton {
name = "stumpwm";
start = "
${pkgs.stumpwm}/bin/stumpwm
";
start = ''
${pkgs.stumpwm}/bin/stumpwm &
waitPID=$!
'';
};
environment.systemPackages = [ pkgs.stumpwm ];
};