summary refs log tree commit diff
diff options
context:
space:
mode:
authorNaïm Favier <n@monade.li>2021-10-05 12:48:43 +0200
committerNaïm Favier <n@monade.li>2021-10-05 12:48:43 +0200
commitc53c69ab17cd3997918a3d877e512dabed594fd0 (patch)
tree6dc2e9ba658b4f1747c9c1a5673a61cb948480a6
parent2384362ca765da34e4089b0dbb738d2ae0340cf3 (diff)
downloadnixpkgs-c53c69ab17cd3997918a3d877e512dabed594fd0.tar
nixpkgs-c53c69ab17cd3997918a3d877e512dabed594fd0.tar.gz
nixpkgs-c53c69ab17cd3997918a3d877e512dabed594fd0.tar.bz2
nixpkgs-c53c69ab17cd3997918a3d877e512dabed594fd0.tar.lz
nixpkgs-c53c69ab17cd3997918a3d877e512dabed594fd0.tar.xz
nixpkgs-c53c69ab17cd3997918a3d877e512dabed594fd0.tar.zst
nixpkgs-c53c69ab17cd3997918a3d877e512dabed594fd0.zip
nixos: fixes after #136909
-rw-r--r--nixos/modules/services/monitoring/alerta.nix2
-rw-r--r--nixos/modules/services/monitoring/kapacitor.nix2
2 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/services/monitoring/alerta.nix b/nixos/modules/services/monitoring/alerta.nix
index c4ce23361e9..a73d94001f7 100644
--- a/nixos/modules/services/monitoring/alerta.nix
+++ b/nixos/modules/services/monitoring/alerta.nix
@@ -56,7 +56,7 @@ in
     corsOrigins = mkOption {
       type = types.listOf types.str;
       description = "List of URLs that can access the API for Cross-Origin Resource Sharing (CORS)";
-      example = [ "http://localhost" "http://localhost:5000" ];
+      default = [ "http://localhost" "http://localhost:5000" ];
     };
 
     authenticationRequired = mkOption {
diff --git a/nixos/modules/services/monitoring/kapacitor.nix b/nixos/modules/services/monitoring/kapacitor.nix
index 5f2233d747f..a79c647becf 100644
--- a/nixos/modules/services/monitoring/kapacitor.nix
+++ b/nixos/modules/services/monitoring/kapacitor.nix
@@ -61,7 +61,7 @@ in
 
     dataDir = mkOption {
       type = types.path;
-      example = "/var/lib/kapacitor";
+      default = "/var/lib/kapacitor";
       description = "Location where Kapacitor stores its state";
     };