From a4eb645d0da4ce4743d86e1cfad7f7deb94de52c Mon Sep 17 00:00:00 2001 From: Daiderd Jordan Date: Sun, 14 May 2017 00:03:49 +0200 Subject: launchd: allow string entries for serviceOptions.path Fixes evaluation of khd. --- modules/services/khd.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules/services/khd.nix') 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"; -- cgit v1.2.3