]> git.immae.eu Git - perso/Immae/Config/Nix.git/blobdiff - nixops/modules/websites/tools/ether/etherpad_lite.nix
Make etherpad derivation pure
[perso/Immae/Config/Nix.git] / nixops / modules / websites / tools / ether / etherpad_lite.nix
index 35220eee210e3ae67674dcfc748c51992ee9409a..c6f3704c5f4fa324d5dfa5584287cb9adc5d01d3 100644 (file)
@@ -119,10 +119,7 @@ let
         '';
     }
   ];
-  webappDir = (etherpad-lite.override {
-    session_key = "/var/secrets/webapps/tools-etherpad-sessionkey";
-    api_key = "/var/secrets/webapps/tools-etherpad-apikey";
-  }).withModules etherpad-lite-modules;
+  webappDir = etherpad-lite.withModules (builtins.attrValues etherpad-lite-modules);
 in
   {
     inherit webappDir keys listenPort;