]> git.immae.eu Git - perso/Immae/Config/Nix.git/commitdiff
Fix etherpad export and paths
authorIsmaël Bouya <ismael.bouya@normalesup.org>
Sun, 29 Mar 2020 21:52:26 +0000 (23:52 +0200)
committerIsmaël Bouya <ismael.bouya@normalesup.org>
Sun, 29 Mar 2020 21:52:26 +0000 (23:52 +0200)
modules/private/websites/tools/ether/default.nix

index 1c56ed7a2fc6ed77f18c6e5a145b12ce425dfda7..da88ec54bb5c88e69818ceeda28d4237f7fedf1f 100644 (file)
@@ -58,7 +58,7 @@ in {
               "rtl": false,
               "alwaysShowChat": false,
               "chatAndUsers": false,
-              "lang": "en-gb"
+              "lang": "fr"
             },
 
             "suppressErrorsInPadText" : false,
@@ -69,7 +69,7 @@ in {
             "maxAge" : 21600,
             "abiword" : null,
             "soffice" : "${libreoffice}/bin/soffice",
-            "tidyHtml" : "${pkgs.html-tidy}/bin/tidy",
+            "tidyHtml" : "",
             "allowUnknownFileEnds" : true,
             "requireAuthentication" : false,
             "requireAuthorization" : false,
@@ -135,6 +135,8 @@ in {
     };
 
     systemd.services.etherpad-lite.serviceConfig.SupplementaryGroups = "keys";
+    # Needed so that they get in the closure
+    systemd.services.etherpad-lite.path = [ libreoffice pkgs.html-tidy ];
 
     services.filesWatcher.etherpad-lite = {
       restart = true;