diff options
author | Vincent Ambo <mail@tazj.in> | 2021-09-18T14·35+0300 |
---|---|---|
committer | tazjin <mail@tazj.in> | 2021-09-18T14·38+0000 |
commit | 86a114ac458861b60ae67252ffe056f4cfc2f328 (patch) | |
tree | a036346058b3cc92c872f638735ed7436ba48f05 /ops | |
parent | 98e4d4b18f57dcc3729f7b73cfe105b2af1c3494 (diff) |
fix(ops/restic): types.string -> types.str r/2889
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>
Diffstat (limited to 'ops')
-rw-r--r-- | ops/modules/restic.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ops/modules/restic.nix b/ops/modules/restic.nix index f107609586ed..3d5ec30c1cd7 100644 --- a/ops/modules/restic.nix +++ b/ops/modules/restic.nix @@ -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; }; }; |