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:
parent
a16eee2437
commit
11681612c3
3 changed files with 3 additions and 3 deletions
|
|
@ -14,7 +14,7 @@ in
|
||||||
enable = lib.mkEnableOption description;
|
enable = lib.mkEnableOption description;
|
||||||
|
|
||||||
caches = lib.mkOption {
|
caches = lib.mkOption {
|
||||||
type = with lib.types; listOf string;
|
type = with lib.types; listOf str;
|
||||||
description = "Public addresses of caches to use";
|
description = "Public addresses of caches to use";
|
||||||
|
|
||||||
default = [
|
default = [
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ in
|
||||||
|
|
||||||
interval = mkOption {
|
interval = mkOption {
|
||||||
description = "Systemd calendar expression for how often to run the interval";
|
description = "Systemd calendar expression for how often to run the interval";
|
||||||
type = types.string;
|
type = types.str;
|
||||||
default = "minutely";
|
default = "minutely";
|
||||||
example = "hourly";
|
example = "hourly";
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,7 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
ed25519SecretKeyFile = mkOption {
|
ed25519SecretKeyFile = mkOption {
|
||||||
type = with types; uniq string;
|
type = with types; uniq str;
|
||||||
description = "Path to the ed25519 secret key for the server";
|
description = "Path to the ed25519 secret key for the server";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue