mirror of
https://github.com/LnL7/nix-darwin.git
synced 2025-03-31 04:04:45 +00:00
khd: use ~/.khdrc when to config is defined
This commit is contained in:
parent
cfc9681113
commit
9f0b3c22c3
1 changed files with 2 additions and 1 deletions
|
@ -55,7 +55,8 @@ in
|
||||||
launchd.user.agents.khd = {
|
launchd.user.agents.khd = {
|
||||||
path = [ cfg.package pkgs.kwm config.environment.systemPath ];
|
path = [ cfg.package pkgs.kwm config.environment.systemPath ];
|
||||||
|
|
||||||
serviceConfig.ProgramArguments = [ "${cfg.package}/bin/khd" "-c" "/etc/khdrc" ];
|
serviceConfig.ProgramArguments = [ "${cfg.package}/bin/khd" ]
|
||||||
|
++ optionals (cfg.khdConfig != "") [ "-c" "/etc/khdrc" ];
|
||||||
serviceConfig.KeepAlive = true;
|
serviceConfig.KeepAlive = true;
|
||||||
serviceConfig.ProcessType = "Interactive";
|
serviceConfig.ProcessType = "Interactive";
|
||||||
serviceConfig.Sockets.Listeners =
|
serviceConfig.Sockets.Listeners =
|
||||||
|
|
Loading…
Add table
Reference in a new issue