fix(ops/restic): types.string -> types.str
I can never remember which is which. Change-Id: I69b8235862b8c5b49030a74bfca25aaa113273b7 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3582 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org>
This commit is contained in:
parent
98e4d4b18f
commit
86a114ac45
1 changed files with 3 additions and 3 deletions
|
@ -9,7 +9,7 @@ let
|
|||
description = "Restic backups to GCS";
|
||||
mkStringOption = default: lib.mkOption {
|
||||
inherit default;
|
||||
type = lib.types.string;
|
||||
type = lib.types.str;
|
||||
};
|
||||
in {
|
||||
options.services.depot.restic = {
|
||||
|
@ -21,12 +21,12 @@ in {
|
|||
|
||||
paths = with lib; mkOption {
|
||||
description = "Directories that should be backed up";
|
||||
type = types.listOf types.string;
|
||||
type = types.listOf types.str;
|
||||
};
|
||||
|
||||
exclude = with lib; mkOption {
|
||||
description = "Files that should be excluded from backups";
|
||||
type = types.listOf types.string;
|
||||
type = types.listOf types.str;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue