summary refs log tree commit diff
path: root/nixos/modules/services/monitoring/grafana.nix
diff options
context:
space:
mode:
authorsqualus <squalus@squalus.net>2022-12-04 13:10:19 -0800
committersqualus <squalus@squalus.net>2022-12-04 13:10:19 -0800
commitef90ce7093f36a74523afbbf3714a466aa59bb79 (patch)
tree32009fe05094a4046ffcae1999eb77a016602f3c /nixos/modules/services/monitoring/grafana.nix
parentc94cdd0978d707c08ffdfba54e682a8b553263e1 (diff)
downloadnixpkgs-ef90ce7093f36a74523afbbf3714a466aa59bb79.tar
nixpkgs-ef90ce7093f36a74523afbbf3714a466aa59bb79.tar.gz
nixpkgs-ef90ce7093f36a74523afbbf3714a466aa59bb79.tar.bz2
nixpkgs-ef90ce7093f36a74523afbbf3714a466aa59bb79.tar.lz
nixpkgs-ef90ce7093f36a74523afbbf3714a466aa59bb79.tar.xz
nixpkgs-ef90ce7093f36a74523afbbf3714a466aa59bb79.tar.zst
nixpkgs-ef90ce7093f36a74523afbbf3714a466aa59bb79.zip
nixos/grafana: add Admin to valid auto_assign_org_role values
Diffstat (limited to 'nixos/modules/services/monitoring/grafana.nix')
-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 9b3068796d8..32fbb2b067e 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"];
             };
           };