1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2025-03-28 02:37:09 +00:00

khd: use ~/.khdrc when to config is defined

This commit is contained in:
Daiderd Jordan 2017-05-20 13:04:26 +02:00
parent cfc9681113
commit 9f0b3c22c3
No known key found for this signature in database
GPG key ID: D02435D05B810C96

View file

@ -55,7 +55,8 @@ in
launchd.user.agents.khd = {
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.ProcessType = "Interactive";
serviceConfig.Sockets.Listeners =