diff options
| author | Daiderd Jordan <daiderd@gmail.com> | 2017-05-14 00:03:49 +0200 |
|---|---|---|
| committer | Daiderd Jordan <daiderd@gmail.com> | 2017-05-14 00:12:20 +0200 |
| commit | a4eb645d0da4ce4743d86e1cfad7f7deb94de52c (patch) | |
| tree | 591a43336f25536816875db124f625926b460583 /modules/services/khd.nix | |
| parent | e9cf7650763322f484141ab7a46fc3dbb0b26d1a (diff) | |
launchd: allow string entries for serviceOptions.path
Fixes evaluation of khd.
Diffstat (limited to 'modules/services/khd.nix')
| -rw-r--r-- | modules/services/khd.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/services/khd.nix b/modules/services/khd.nix index 140460b..f308736 100644 --- a/modules/services/khd.nix +++ b/modules/services/khd.nix @@ -21,6 +21,7 @@ in package = mkOption { type = types.path; default = pkgs.khd; + defaultText = "pkgs.khd"; description = "This option specifies the khd package to use."; }; @@ -30,7 +31,7 @@ in config = mkIf cfg.enable { launchd.user.agents.khd = { - path = [ cfg.package pkgs.kwm "${config.environment.systemPath}:" ]; + path = [ cfg.package pkgs.kwm config.environment.systemPath ]; serviceConfig.Program = "${cfg.package}/bin/khd"; serviceConfig.KeepAlive = true; serviceConfig.ProcessType = "Interactive"; |
