From 267e8879deb1220b76ba114122b9ae850920582e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Mon, 14 Aug 2023 17:00:03 +0300 Subject: [PATCH] auto assign roles --- hosts/vno1-oh2/configuration.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hosts/vno1-oh2/configuration.nix b/hosts/vno1-oh2/configuration.nix index 584c11f..e09407a 100644 --- a/hosts/vno1-oh2/configuration.nix +++ b/hosts/vno1-oh2/configuration.nix @@ -157,6 +157,8 @@ http_addr = "0.0.0.0"; http_port = myData.ports.grafana; }; + users.auto_assign_org = true; + users.auto_assign_org_role = "Editor"; auth.oauth_allow_insecure_email_lookup = true; "auth.generic_oauth" = { enabled = true;