diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-04-12 16:10:17 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-04-23 12:10:30 +0200 |
commit | 7c22d0244fccf6fcc0de54808bef4f0976c6bdf9 (patch) | |
tree | 4ab5582c8e0a73b8bb27c6a4b7df26e0734f6fae /modules/by-name/ng/nginx | |
parent | modules/stalwart-mail: Allow both nginx and stalwart-mail access to the cert (diff) | |
download | nixos-server-7c22d0244fccf6fcc0de54808bef4f0976c6bdf9.zip |
modules/nginx: Set the "acme" group as group of the "acme" user
For some reason, this is not done already. Setting this prevents an assertion being thrown, that the "acme" user does not have a group.
Diffstat (limited to '')
-rw-r--r-- | modules/by-name/ng/nginx/module.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/by-name/ng/nginx/module.nix b/modules/by-name/ng/nginx/module.nix index 1cb4e46..fa3337d 100644 --- a/modules/by-name/ng/nginx/module.nix +++ b/modules/by-name/ng/nginx/module.nix @@ -44,7 +44,10 @@ in { ]; users = { - users.acme.uid = config.vhack.constants.ids.uids.acme; + users.acme = { + uid = config.vhack.constants.ids.uids.acme; + group = "acme"; + }; groups.acme.gid = config.vhack.constants.ids.gids.acme; }; |