buildkite-agent: change hooksPath type to 'path' (and prevent it from hitting the store)

(cherry picked from commit 3aec59c99ff6692468a069fa8a8d6a05000fca81)
Signed-off-by: Domen Kožar <domen@dev.si>

Changed files
+1 -1
nixos
modules
services
continuous-integration
+1 -1
nixos/modules/services/continuous-integration/buildkite-agent.nix
···
};
hooksPath = mkOption {
-
type = types.str;
+
type = types.path;
default = "${pkgs.buildkite-agent}/share/hooks";
defaultText = "${pkgs.buildkite-agent}/share/hooks";
description = ''