diff --git a/ops/modules/builderball.nix b/ops/modules/builderball.nix index 9c416affc..9b77e893e 100644 --- a/ops/modules/builderball.nix +++ b/ops/modules/builderball.nix @@ -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 = [ diff --git a/ops/modules/prometheus-fail2ban-exporter.nix b/ops/modules/prometheus-fail2ban-exporter.nix index 349364f9b..504b7e5dc 100644 --- a/ops/modules/prometheus-fail2ban-exporter.nix +++ b/ops/modules/prometheus-fail2ban-exporter.nix @@ -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"; }; diff --git a/users/aspen/xanthous/server/module.nix b/users/aspen/xanthous/server/module.nix index 6d1bdc687..8950f2e8d 100644 --- a/users/aspen/xanthous/server/module.nix +++ b/users/aspen/xanthous/server/module.nix @@ -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"; }; };