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
parent f168a5393f
commit f401617e77
No known key found for this signature in database
GPG key ID: 1B7BF5B77A521346
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;