diff options
| author | Max Audron <audron@cocaine.farm> | 2023-10-13 17:37:00 +0200 |
|---|---|---|
| committer | Max Audron <audron@cocaine.farm> | 2023-10-13 17:37:58 +0200 |
| commit | 3562add06fd2b630014dd6133311700ea43d286c (patch) | |
| tree | 0b4cb9115a57eddb20fc449e436c13858c68d40e /modules/acme/default.nix | |
| parent | deploy authentik (diff) | |
make acme nginx group config more reliable
Diffstat (limited to 'modules/acme/default.nix')
| -rw-r--r-- | modules/acme/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/acme/default.nix b/modules/acme/default.nix index 0556710..c986736 100644 --- a/modules/acme/default.nix +++ b/modules/acme/default.nix @@ -17,5 +17,7 @@ }; }; - users.users.nginx.extraGroups = [ "acme" ]; + users.users.nginx = lib.mkIf config.services.nginx.enable { + extraGroups = [ "acme" ]; + }; } |
