diff options
Diffstat (limited to 'virtual/modules/websites/tools/ether/etherpad_lite.nix')
-rw-r--r-- | virtual/modules/websites/tools/ether/etherpad_lite.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/virtual/modules/websites/tools/ether/etherpad_lite.nix b/virtual/modules/websites/tools/ether/etherpad_lite.nix index f5f05b7..02071f1 100644 --- a/virtual/modules/websites/tools/ether/etherpad_lite.nix +++ b/virtual/modules/websites/tools/ether/etherpad_lite.nix | |||
@@ -1,6 +1,6 @@ | |||
1 | { env, fetchedGithub, fetchurl, stdenv, writeText, pkgs, cacert }: | 1 | { env, fetchedGithub, fetchurl, stdenv, writeText, pkgs, cacert }: |
2 | let | 2 | let |
3 | listenPort = "18001"; | 3 | listenPort = env.listenPort; |
4 | sessionkey = writeText "SESSIONKEY.txt" env.session_key; | 4 | sessionkey = writeText "SESSIONKEY.txt" env.session_key; |
5 | apikey = writeText "APIKEY.txt" env.api_key; | 5 | apikey = writeText "APIKEY.txt" env.api_key; |
6 | jquery = fetchurl { | 6 | jquery = fetchurl { |
@@ -41,7 +41,7 @@ let | |||
41 | "favicon": "favicon.ico", | 41 | "favicon": "favicon.ico", |
42 | 42 | ||
43 | "ip": "127.0.0.1", | 43 | "ip": "127.0.0.1", |
44 | "port" : ${listenPort}, | 44 | "port" : ${env.listenPort}, |
45 | "showSettingsInAdminPage" : false, | 45 | "showSettingsInAdminPage" : false, |
46 | "dbType" : "postgres", | 46 | "dbType" : "postgres", |
47 | "dbSettings" : { | 47 | "dbSettings" : { |