]> git.immae.eu Git - perso/Immae/Config/Nix.git/blobdiff - nixops/modules/websites/tools/diaspora/diaspora.nix
Move davical and Jerome's website passwords to secure location
[perso/Immae/Config/Nix.git] / nixops / modules / websites / tools / diaspora / diaspora.nix
index 616c5cc6533faa13c53cd1257478c9a202463a52..82bca8c7cabfea7c7b49539bcc68a755ce563c1e 100644 (file)
@@ -15,7 +15,10 @@ let
   });
   gems = bundlerEnv {
     name = "diaspora-env";
-    ruby = ruby_2_4;
+    # https://git.immae.eu/mantisbt/view.php?id=131
+    ruby = ruby_2_4.overrideAttrs(old: {
+      postInstall = builtins.replaceStrings [" --destdir $GEM_HOME"] [""] old.postInstall;
+    });
     gemfile = "${diaspora}/Gemfile";
     lockfile = "${diaspora}/Gemfile.lock";
     gemset = ./gemset.nix;
@@ -74,14 +77,14 @@ let
           wordpress:
         mail:
           enable: true
-          sender_address: 'diaspora@immae.eu'
+          sender_address: 'diaspora@tools.immae.eu'
           method: 'sendmail'
           smtp:
           sendmail:
             location: '/run/wrappers/bin/sendmail'
         admins:
           account: "ismael"
-          podmin_email: 'diaspora@immae.eu'
+          podmin_email: 'diaspora@tools.immae.eu'
         relay:
           outbound:
           inbound: