diff --git a/nixos/modules/services/continuous-integration/buildkite-agent.nix b/nixos/modules/services/continuous-integration/buildkite-agent.nix index 62ab1157d098..ac6514dfb37e 100644 --- a/nixos/modules/services/continuous-integration/buildkite-agent.nix +++ b/nixos/modules/services/continuous-integration/buildkite-agent.nix @@ -49,7 +49,7 @@ in }; hooksPath = mkOption { - type = types.str; + type = types.path; default = "${pkgs.buildkite-agent}/share/hooks"; defaultText = "${pkgs.buildkite-agent}/share/hooks"; description = ''