various: use mkPackageOption
This commit is contained in:
@@ -38,12 +38,7 @@ let
|
||||
description = "Whether to enable this buildkite agent";
|
||||
};
|
||||
|
||||
package = lib.mkOption {
|
||||
default = pkgs.buildkite-agent;
|
||||
defaultText = lib.literalExpression "pkgs.buildkite-agent";
|
||||
description = "Which buildkite-agent derivation to use";
|
||||
type = lib.types.package;
|
||||
};
|
||||
package = lib.mkPackageOption pkgs "buildkite-agent" { };
|
||||
|
||||
dataDir = lib.mkOption {
|
||||
default = "/var/lib/buildkite-agent-${name}";
|
||||
|
||||
Reference in New Issue
Block a user