From ad40470be0f24ba4ceeaf6341f4987ab0b15de09 Mon Sep 17 00:00:00 2001 From: Michael Hoang Date: Mon, 23 Sep 2024 19:13:33 +0700 Subject: [PATCH] launchd: allow WatchPaths to contain `~` --- modules/launchd/launchd.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/launchd/launchd.nix b/modules/launchd/launchd.nix index 9eabf0a7..87e385d1 100644 --- a/modules/launchd/launchd.nix +++ b/modules/launchd/launchd.nix @@ -310,7 +310,7 @@ in }; WatchPaths = mkOption { - type = types.nullOr (types.listOf types.path); + type = types.nullOr (types.listOf (types.either types.str types.path)); default = null; description = '' This optional key causes the job to be started if any one of the listed paths are modified.