1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2025-03-13 20:30:02 +00:00

khd: add system path to service

This commit is contained in:
Daiderd Jordan 2017-02-19 12:07:54 +01:00
parent 3f7d060621
commit 9a65d60811
No known key found for this signature in database
GPG key ID: D02435D05B810C96

View file

@ -21,7 +21,7 @@ in
package = mkOption {
type = types.path;
default = pkgs.khd;
description = "This option specifies the khd package to use";
description = "This option specifies the khd package to use.";
};
};
@ -30,7 +30,7 @@ in
config = mkIf cfg.enable {
launchd.user.agents.khd = {
path = [ cfg.package pkgs.kwm ];
path = [ cfg.package pkgs.kwm config.environment.systemPath ];
serviceConfig.Program = "${cfg.package}/bin/khd";
serviceConfig.KeepAlive = true;
serviceConfig.ProcessType = "Interactive";