aboutsummaryrefslogtreecommitdiff
path: root/nixops/modules/websites/tools/mastodon
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2019-01-26 15:25:25 +0100
committerIsmaël Bouya <ismael.bouya@normalesup.org>2019-01-26 15:25:25 +0100
commit3b075825f1f2fc3578024454a8970e3797248209 (patch)
tree3525883f1f78d4062c3604d92c8dbee31662de42 /nixops/modules/websites/tools/mastodon
parent7ebcaad53a3261d8a4aefd8a64c5c7d9d8ac2fa0 (diff)
downloadNix-3b075825f1f2fc3578024454a8970e3797248209.tar.gz
Nix-3b075825f1f2fc3578024454a8970e3797248209.tar.zst
Nix-3b075825f1f2fc3578024454a8970e3797248209.zip
Use global configuration for tools users
Fixes https://git.immae.eu/mantisbt/view.php?id=95
Diffstat (limited to 'nixops/modules/websites/tools/mastodon')
-rw-r--r--nixops/modules/websites/tools/mastodon/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixops/modules/websites/tools/mastodon/default.nix b/nixops/modules/websites/tools/mastodon/default.nix
index f1a207f..3740a49 100644
--- a/nixops/modules/websites/tools/mastodon/default.nix
+++ b/nixops/modules/websites/tools/mastodon/default.nix
@@ -12,8 +12,8 @@ in {
12 }; 12 };
13 13
14 config = lib.mkIf cfg.enable { 14 config = lib.mkIf cfg.enable {
15 ids.uids.mastodon = 399; 15 ids.uids.mastodon = myconfig.env.tools.mastodon.user.uid;
16 ids.gids.mastodon = 399; 16 ids.gids.mastodon = myconfig.env.tools.mastodon.user.gid;
17 17
18 users.users.mastodon = { 18 users.users.mastodon = {
19 name = "mastodon"; 19 name = "mastodon";