mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-04 01:42:53 +03:00
Merge pull request #95122 from rudolph9/nixos/xmonad
nixos/xmonad: Fix behavior of config opt
This commit is contained in:
commit
ebf11e405d
@ -82,12 +82,11 @@ in
|
|||||||
services.xserver.windowManager = {
|
services.xserver.windowManager = {
|
||||||
session = [{
|
session = [{
|
||||||
name = "xmonad";
|
name = "xmonad";
|
||||||
start = if (cfg.config != null) then ''
|
start = let
|
||||||
${xmonadBin}
|
xmonadCommand = if (cfg.config != null) then xmonadBin else "${xmonad}/bin/xmonad";
|
||||||
waitPID=$!
|
in ''
|
||||||
'' else ''
|
systemd-cat -t xmonad ${xmonadCommand} &
|
||||||
systemd-cat -t xmonad ${xmonad}/bin/xmonad &
|
waitPID=$!
|
||||||
waitPID=$!
|
|
||||||
'';
|
'';
|
||||||
}];
|
}];
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user