X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=nixops%2Fmodules%2Fwebsites%2Ftools%2Fether%2Fetherpad_lite.nix;h=c6f3704c5f4fa324d5dfa5584287cb9adc5d01d3;hb=1247e537b0c8e5ed780ab890cbce4612714a0fa7;hp=35220eee210e3ae67674dcfc748c51992ee9409a;hpb=a8bfce17c5eda890d3486357952572f4c1c6b18a;p=perso%2FImmae%2FConfig%2FNix.git diff --git a/nixops/modules/websites/tools/ether/etherpad_lite.nix b/nixops/modules/websites/tools/ether/etherpad_lite.nix index 35220ee..c6f3704 100644 --- a/nixops/modules/websites/tools/ether/etherpad_lite.nix +++ b/nixops/modules/websites/tools/ether/etherpad_lite.nix @@ -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;