aboutsummaryrefslogtreecommitdiff
path: root/nixops/modules/websites/tools/ether/default.nix
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2019-05-08 10:56:21 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2019-05-08 10:56:21 +0200
commita8bfce17c5eda890d3486357952572f4c1c6b18a (patch)
treee7acfe9fa0aa99cb4b54f941bc6742ee897393c6 /nixops/modules/websites/tools/ether/default.nix
parentfd2d83bd2bf20fafc63daf5041db0151a4b4d17d (diff)
downloadNix-a8bfce17c5eda890d3486357952572f4c1c6b18a.tar.gz
Nix-a8bfce17c5eda890d3486357952572f4c1c6b18a.tar.zst
Nix-a8bfce17c5eda890d3486357952572f4c1c6b18a.zip
Move etherpad-lite to pkgs
Diffstat (limited to 'nixops/modules/websites/tools/ether/default.nix')
-rw-r--r--nixops/modules/websites/tools/ether/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixops/modules/websites/tools/ether/default.nix b/nixops/modules/websites/tools/ether/default.nix
index 0d04c36..09e5c9d 100644
--- a/nixops/modules/websites/tools/ether/default.nix
+++ b/nixops/modules/websites/tools/ether/default.nix
@@ -1,7 +1,7 @@
1{ lib, pkgs, config, myconfig, mylibs, ... }: 1{ lib, pkgs, config, myconfig, mylibs, ... }:
2let 2let
3 etherpad = pkgs.callPackage ./etherpad_lite.nix { 3 etherpad = pkgs.callPackage ./etherpad_lite.nix {
4 inherit (mylibs) fetchedGithub; 4 inherit (pkgs.webapps) etherpad-lite etherpad-lite-modules;
5 env = myconfig.env.tools.etherpad-lite; 5 env = myconfig.env.tools.etherpad-lite;
6 }; 6 };
7 7
@@ -44,7 +44,7 @@ in {
44 Restart = "always"; 44 Restart = "always";
45 Type = "simple"; 45 Type = "simple";
46 TimeoutSec = 60; 46 TimeoutSec = 60;
47 ExecStartPre = "+${pkgs.coreutils}/bin/chown etherpad-lite:etherpad-lite /var/secrets/webapps/tools-etherpad /var/secrets/webapps/tools-etherpad-sessionkey /var/secrets/webapps/tools-etherpad-apikey"; 47 ExecStartPre = "+${pkgs.coreutils}/bin/chown -R etherpad-lite:etherpad-lite /var/secrets/webapps/tools-etherpad /var/secrets/webapps/tools-etherpad-sessionkey /var/secrets/webapps/tools-etherpad-apikey";
48 }; 48 };
49 }; 49 };
50 50