aboutsummaryrefslogtreecommitdiff
path: root/modules/private/websites/tools/ether
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2020-03-29 23:52:26 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2020-03-29 23:52:26 +0200
commit78228078d95dc4b062f040a0a604c2af66b421e0 (patch)
tree63cb80309f135738ee28f32bcae9769ca31ba796 /modules/private/websites/tools/ether
parent7bdb9ee9263a59b3b9d36fe095cd687163ab10f6 (diff)
downloadNix-78228078d95dc4b062f040a0a604c2af66b421e0.tar.gz
Nix-78228078d95dc4b062f040a0a604c2af66b421e0.tar.zst
Nix-78228078d95dc4b062f040a0a604c2af66b421e0.zip
Fix etherpad export and paths
Diffstat (limited to 'modules/private/websites/tools/ether')
-rw-r--r--modules/private/websites/tools/ether/default.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/modules/private/websites/tools/ether/default.nix b/modules/private/websites/tools/ether/default.nix
index 1c56ed7..da88ec5 100644
--- a/modules/private/websites/tools/ether/default.nix
+++ b/modules/private/websites/tools/ether/default.nix
@@ -58,7 +58,7 @@ in {
58 "rtl": false, 58 "rtl": false,
59 "alwaysShowChat": false, 59 "alwaysShowChat": false,
60 "chatAndUsers": false, 60 "chatAndUsers": false,
61 "lang": "en-gb" 61 "lang": "fr"
62 }, 62 },
63 63
64 "suppressErrorsInPadText" : false, 64 "suppressErrorsInPadText" : false,
@@ -69,7 +69,7 @@ in {
69 "maxAge" : 21600, 69 "maxAge" : 21600,
70 "abiword" : null, 70 "abiword" : null,
71 "soffice" : "${libreoffice}/bin/soffice", 71 "soffice" : "${libreoffice}/bin/soffice",
72 "tidyHtml" : "${pkgs.html-tidy}/bin/tidy", 72 "tidyHtml" : "",
73 "allowUnknownFileEnds" : true, 73 "allowUnknownFileEnds" : true,
74 "requireAuthentication" : false, 74 "requireAuthentication" : false,
75 "requireAuthorization" : false, 75 "requireAuthorization" : false,
@@ -135,6 +135,8 @@ in {
135 }; 135 };
136 136
137 systemd.services.etherpad-lite.serviceConfig.SupplementaryGroups = "keys"; 137 systemd.services.etherpad-lite.serviceConfig.SupplementaryGroups = "keys";
138 # Needed so that they get in the closure
139 systemd.services.etherpad-lite.path = [ libreoffice pkgs.html-tidy ];
138 140
139 services.filesWatcher.etherpad-lite = { 141 services.filesWatcher.etherpad-lite = {
140 restart = true; 142 restart = true;