refactor: add nginx to mastodon group in mastodon module

This commit is contained in:
Benjamin Bädorf 2023-10-29 02:38:46 +01:00 committed by b12f
parent 7bbccd855f
commit b7d0e23703
Signed by: pub.solar gitea
GPG key ID: F0332B04B7054873
2 changed files with 3 additions and 2 deletions

View file

@ -32,6 +32,9 @@
owner = config.services.mastodon.user;
};
# Nginx user needs access to mastodon unix sockets
users.users.nginx.extraGroups = [ "mastodon" ];
services.mastodon = {
enable = true;
# Different from WEB_DOMAIN in our case

View file

@ -17,8 +17,6 @@ in {
};
recommendedProxySettings = true;
};
# Nginx user needs access to mastodon unix sockets
users.users.nginx.extraGroups = [ "mastodon" ];
security.acme = {
acceptTerms = true;