diff options
author | Silvan Mosberger <infinisil@icloud.com> | 2019-08-08 22:48:27 +0200 |
---|---|---|
committer | Silvan Mosberger <infinisil@icloud.com> | 2019-08-31 18:19:00 +0200 |
commit | 478e7184f88db1364cc75107036f7c4decc0cc41 (patch) | |
tree | 5ff3d3a18e3aef9af4333c392a94751333754270 /nixos/modules/services/monitoring/kapacitor.nix | |
parent | 69d58ee24506e2b3b5aff347ae3b0791110340ec (diff) | |
download | nixlib-478e7184f88db1364cc75107036f7c4decc0cc41.tar nixlib-478e7184f88db1364cc75107036f7c4decc0cc41.tar.gz nixlib-478e7184f88db1364cc75107036f7c4decc0cc41.tar.bz2 nixlib-478e7184f88db1364cc75107036f7c4decc0cc41.tar.lz nixlib-478e7184f88db1364cc75107036f7c4decc0cc41.tar.xz nixlib-478e7184f88db1364cc75107036f7c4decc0cc41.tar.zst nixlib-478e7184f88db1364cc75107036f7c4decc0cc41.zip |
nixos/modules: Remove all usages of types.string
And replace them with a more appropriate type Also fix up some minor module problems along the way
Diffstat (limited to 'nixos/modules/services/monitoring/kapacitor.nix')
-rw-r--r-- | nixos/modules/services/monitoring/kapacitor.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/nixos/modules/services/monitoring/kapacitor.nix b/nixos/modules/services/monitoring/kapacitor.nix index 0f236d25c9ed..9b4ff3c56124 100644 --- a/nixos/modules/services/monitoring/kapacitor.nix +++ b/nixos/modules/services/monitoring/kapacitor.nix @@ -116,17 +116,17 @@ in url = mkOption { description = "The URL to an InfluxDB server that serves as the default database"; example = "http://localhost:8086"; - type = types.string; + type = types.str; }; username = mkOption { description = "The username to connect to the remote InfluxDB server"; - type = types.string; + type = types.str; }; password = mkOption { description = "The password to connect to the remote InfluxDB server"; - type = types.string; + type = types.str; }; }; @@ -137,7 +137,7 @@ in description = "The URL to the Alerta REST API"; default = "http://localhost:5000"; example = "http://localhost:5000"; - type = types.string; + type = types.str; }; token = mkOption { |