diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-01-26 15:25:25 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-01-26 15:25:25 +0100 |
commit | 3b075825f1f2fc3578024454a8970e3797248209 (patch) | |
tree | 3525883f1f78d4062c3604d92c8dbee31662de42 /nixops/modules | |
parent | 7ebcaad53a3261d8a4aefd8a64c5c7d9d8ac2fa0 (diff) | |
download | Nix-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')
-rw-r--r-- | nixops/modules/websites/tools/diaspora/default.nix | 4 | ||||
-rw-r--r-- | nixops/modules/websites/tools/mastodon/default.nix | 4 | ||||
-rw-r--r-- | nixops/modules/websites/tools/mediagoblin/default.nix | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/nixops/modules/websites/tools/diaspora/default.nix b/nixops/modules/websites/tools/diaspora/default.nix index ae870b0..8d62c7e 100644 --- a/nixops/modules/websites/tools/diaspora/default.nix +++ b/nixops/modules/websites/tools/diaspora/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.diaspora = 398; | 15 | ids.uids.diaspora = myconfig.env.tools.diaspora.user.uid; |
16 | ids.gids.diaspora = 398; | 16 | ids.gids.diaspora = myconfig.env.tools.diaspora.user.gid; |
17 | 17 | ||
18 | users.users.diaspora = { | 18 | users.users.diaspora = { |
19 | name = "diaspora"; | 19 | name = "diaspora"; |
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"; |
diff --git a/nixops/modules/websites/tools/mediagoblin/default.nix b/nixops/modules/websites/tools/mediagoblin/default.nix index 5f60503..90b115e 100644 --- a/nixops/modules/websites/tools/mediagoblin/default.nix +++ b/nixops/modules/websites/tools/mediagoblin/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.mediagoblin = 397; | 15 | ids.uids.mediagoblin = myconfig.env.tools.mediagoblin.user.uid; |
16 | ids.gids.mediagoblin = 397; | 16 | ids.gids.mediagoblin = myconfig.env.tools.mediagoblin.user.gid; |
17 | 17 | ||
18 | users.users.mediagoblin = { | 18 | users.users.mediagoblin = { |
19 | name = "mediagoblin"; | 19 | name = "mediagoblin"; |