about summary refs log tree commit diff
path: root/nixos/modules/services
diff options
context:
space:
mode:
authorMaximilian Bosch <maximilian@mbosch.me>2022-12-20 21:14:47 +0100
committerGitHub <noreply@github.com>2022-12-20 21:14:47 +0100
commitf37f1de42222107f8a5b97fd8579508a0abc8385 (patch)
tree8460362d1ed80ae25c4ec3e2bef456e4950b9b59 /nixos/modules/services
parentd31b63a67fc8acb52f2799552045e20f14a3ee1e (diff)
parentef90ce7093f36a74523afbbf3714a466aa59bb79 (diff)
Merge pull request #204537 from squalus/grafana-role
nixos/grafana: add Admin to valid auto_assign_org_role values
Diffstat (limited to 'nixos/modules/services')
-rw-r--r--nixos/modules/services/monitoring/grafana.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/monitoring/grafana.nix b/nixos/modules/services/monitoring/grafana.nix
index 5061666f57cec..9a9a0ab755325 100644
--- a/nixos/modules/services/monitoring/grafana.nix
+++ b/nixos/modules/services/monitoring/grafana.nix
@@ -555,7 +555,7 @@ in {
             auto_assign_org_role = mkOption {
               description = lib.mdDoc "Default role new users will be auto assigned.";
               default = "Viewer";
-              type = types.enum ["Viewer" "Editor"];
+              type = types.enum ["Viewer" "Editor" "Admin"];
             };
           };