feat: move nginx group declaration to nginx module
This commit is contained in:
parent
5798937b43
commit
5d47e3f94a
2 changed files with 2 additions and 2 deletions
|
|
@ -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" ];
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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" = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue