]> git.immae.eu Git - perso/Immae/Config/Nix.git/blobdiff - nixops/modules/websites/tools/mastodon/default.nix
Use global configuration for tools users
[perso/Immae/Config/Nix.git] / nixops / modules / websites / tools / mastodon / default.nix
index f1a207feb97554d305ca2d8e7fc2871705a3955d..3740a49c60c4644e5fdcad618152f25147d440c5 100644 (file)
@@ -12,8 +12,8 @@ in {
   };
 
   config = lib.mkIf cfg.enable {
-    ids.uids.mastodon = 399;
-    ids.gids.mastodon = 399;
+    ids.uids.mastodon = myconfig.env.tools.mastodon.user.uid;
+    ids.gids.mastodon = myconfig.env.tools.mastodon.user.gid;
 
     users.users.mastodon = {
       name = "mastodon";