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:
parent
3f7d060621
commit
9a65d60811
1 changed files with 2 additions and 2 deletions
|
@ -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";
|
||||
|
|
Loading…
Add table
Reference in a new issue