aboutsummaryrefslogtreecommitdiff
path: root/nixops/modules/websites
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2019-02-16 17:36:41 +0100
committerIsmaël Bouya <ismael.bouya@normalesup.org>2019-02-16 17:36:41 +0100
commitfe6f1528cd4df919fbd65005b9499be2da87ff0a (patch)
tree0f8ddb93fd0ab386aa9ae4065789a6977f08b5b9 /nixops/modules/websites
parenta95ab089420d6edf24f22500dabf7876d329dc91 (diff)
downloadNix-fe6f1528cd4df919fbd65005b9499be2da87ff0a.tar.gz
Nix-fe6f1528cd4df919fbd65005b9499be2da87ff0a.tar.zst
Nix-fe6f1528cd4df919fbd65005b9499be2da87ff0a.zip
Change home directories outside of the store
Fixes https://git.immae.eu/mantisbt/view.php?id=123
Diffstat (limited to 'nixops/modules/websites')
-rw-r--r--nixops/modules/websites/tools/diaspora/default.nix2
-rw-r--r--nixops/modules/websites/tools/mastodon/default.nix2
-rw-r--r--nixops/modules/websites/tools/peertube/default.nix2
3 files changed, 3 insertions, 3 deletions
diff --git a/nixops/modules/websites/tools/diaspora/default.nix b/nixops/modules/websites/tools/diaspora/default.nix
index cd35385..b1cb6f2 100644
--- a/nixops/modules/websites/tools/diaspora/default.nix
+++ b/nixops/modules/websites/tools/diaspora/default.nix
@@ -21,7 +21,7 @@ in {
21 uid = config.ids.uids.diaspora; 21 uid = config.ids.uids.diaspora;
22 group = "diaspora"; 22 group = "diaspora";
23 description = "Diaspora user"; 23 description = "Diaspora user";
24 home = diaspora.railsRoot; 24 home = diaspora.varDir;
25 useDefaultShell = true; 25 useDefaultShell = true;
26 packages = [ diaspora.gems pkgs.nodejs diaspora.gems.ruby ]; 26 packages = [ diaspora.gems pkgs.nodejs diaspora.gems.ruby ];
27 }; 27 };
diff --git a/nixops/modules/websites/tools/mastodon/default.nix b/nixops/modules/websites/tools/mastodon/default.nix
index 6e34280..b64474c 100644
--- a/nixops/modules/websites/tools/mastodon/default.nix
+++ b/nixops/modules/websites/tools/mastodon/default.nix
@@ -21,7 +21,7 @@ in {
21 uid = config.ids.uids.mastodon; 21 uid = config.ids.uids.mastodon;
22 group = "mastodon"; 22 group = "mastodon";
23 description = "Mastodon user"; 23 description = "Mastodon user";
24 home = mastodon.railsRoot; 24 home = mastodon.varDir;
25 useDefaultShell = true; 25 useDefaultShell = true;
26 }; 26 };
27 27
diff --git a/nixops/modules/websites/tools/peertube/default.nix b/nixops/modules/websites/tools/peertube/default.nix
index 38c2608..c4f3817 100644
--- a/nixops/modules/websites/tools/peertube/default.nix
+++ b/nixops/modules/websites/tools/peertube/default.nix
@@ -20,7 +20,7 @@ in {
20 uid = config.ids.uids.peertube; 20 uid = config.ids.uids.peertube;
21 group = "peertube"; 21 group = "peertube";
22 description = "Peertube user"; 22 description = "Peertube user";
23 home = peertube.webappDir; 23 home = peertube.varDir;
24 useDefaultShell = true; 24 useDefaultShell = true;
25 }; 25 };
26 26