From c47ce59efea0a45aeb73518490f3146f9f17bf9e Mon Sep 17 00:00:00 2001 From: Max Date: Thu, 2 Dec 2021 21:37:38 +0100 Subject: [PATCH] VEGAS/oauth2-proxy: fix group --- hosts/VEGAS/modules/oauth2-proxy/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hosts/VEGAS/modules/oauth2-proxy/default.nix b/hosts/VEGAS/modules/oauth2-proxy/default.nix index edca564..9724b49 100644 --- a/hosts/VEGAS/modules/oauth2-proxy/default.nix +++ b/hosts/VEGAS/modules/oauth2-proxy/default.nix @@ -11,6 +11,10 @@ in group = "root"; mode = "0400"; }; + + users.users.oauth2_proxy.group = "oauth2_proxy"; + users.groups.oauth2_proxy = {}; + services.oauth2_proxy = { enable = true; approvalPrompt = "auto";