From 4288c2f2431fb782b0d512b1b3749187f2374b6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Wed, 22 May 2019 20:01:33 +0200 Subject: Move websites/tools to modules --- modules/private/websites/chloe/production.nix | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'modules/private/websites/chloe/production.nix') diff --git a/modules/private/websites/chloe/production.nix b/modules/private/websites/chloe/production.nix index d4b2299..0bf2d8f 100644 --- a/modules/private/websites/chloe/production.nix +++ b/modules/private/websites/chloe/production.nix @@ -25,10 +25,7 @@ in { ''; }; system.activationScripts.chloe_prod = chloe.activationScript; - system.extraSystemBuilderCmds = '' - mkdir -p $out/webapps - ln -s ${chloe.app.webRoot} $out/webapps/${chloe.apache.webappName} - ''; + myServices.websites.webappDirs."${chloe.apache.webappName}" = chloe.app.webRoot; services.websites.production.modules = chloe.apache.modules; services.websites.production.vhostConfs.chloe = { certName = "chloe"; -- cgit v1.2.3