feat: move nginx group declaration to nginx module

This commit is contained in:
Jacob Bachmann 2024-09-10 09:35:08 +02:00
parent 5798937b43
commit 5d47e3f94a
Signed by: bchmnn
GPG key ID: 732A612DAD28067D
2 changed files with 2 additions and 2 deletions

View file

@ -14,6 +14,4 @@
dnsPropagationCheck = true; dnsPropagationCheck = true;
credentialsFile = config.age.secrets.environments-acme.path; credentialsFile = config.age.secrets.environments-acme.path;
}; };
users.users.nginx.extraGroups = [ "acme" ];
} }

View file

@ -1,5 +1,7 @@
{ config, ... }: { config, ... }:
{ {
users.users.nginx.extraGroups = [ "acme" ];
services.nginx = { services.nginx = {
enable = true; enable = true;
virtualHosts."dryb.org" = { virtualHosts."dryb.org" = {