summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorsils <sils@sils.li>2023-10-12 21:52:37 +0200
committersils <sils@sils.li>2023-10-12 21:52:37 +0200
commit1ddfb655c9cb35a40cc13dca84652678f7a30f1a (patch)
tree9c1b130f3669bf3a1f6732896640d4151543eb8e
parentfix(system/services/mastodon): allow registration only with vhack.eu/sils.li ... (diff)
downloadnixos-server-1ddfb655c9cb35a40cc13dca84652678f7a30f1a.tar.gz
nixos-server-1ddfb655c9cb35a40cc13dca84652678f7a30f1a.zip
fix(system/services/mastodon): add nginx to group 'mastodon'
-rw-r--r--system/services/mastodon/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/system/services/mastodon/default.nix b/system/services/mastodon/default.nix
index 5007d0e..ea49fc5 100644
--- a/system/services/mastodon/default.nix
+++ b/system/services/mastodon/default.nix
@@ -49,4 +49,6 @@ in {
       };
     };
   };
+
+  users.groups.${config.services.mastodon.group}.members = config.services.nginx.user;
 }