chore: lib.types.string -> lib.types.str

lib.types.string concatenates conflicting definitions on module merge
which is counter intuitive and hard to debug behavior.

Change-Id: I8ccdca0e8895fb5cc4600c367f8d52a9ab80ff75
Reviewed-on: https://cl.tvl.fyi/c/depot/+/13177
Autosubmit: sterni <sternenseemann@systemli.org>
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
Reviewed-by: aspen <root@gws.fyi>
This commit is contained in:
sterni 2025-02-24 22:16:44 +01:00 committed by clbot
parent a16eee2437
commit 11681612c3
3 changed files with 3 additions and 3 deletions

View file

@ -14,7 +14,7 @@ in
enable = lib.mkEnableOption description;
caches = lib.mkOption {
type = with lib.types; listOf string;
type = with lib.types; listOf str;
description = "Public addresses of caches to use";
default = [

View file

@ -10,7 +10,7 @@ in
interval = mkOption {
description = "Systemd calendar expression for how often to run the interval";
type = types.string;
type = types.str;
default = "minutely";
example = "hourly";
};

View file

@ -27,7 +27,7 @@ in
};
ed25519SecretKeyFile = mkOption {
type = with types; uniq string;
type = with types; uniq str;
description = "Path to the ed25519 secret key for the server";
};
};