From c53c69ab17cd3997918a3d877e512dabed594fd0 Mon Sep 17 00:00:00 2001 From: Naïm Favier Date: Tue, 5 Oct 2021 12:48:43 +0200 Subject: nixos: fixes after #136909 --- nixos/modules/services/monitoring/alerta.nix | 2 +- nixos/modules/services/monitoring/kapacitor.nix | 2 +- 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"; }; -- cgit 1.4.1