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/aten/integration.nix | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'modules/private/websites/aten/integration.nix') diff --git a/modules/private/websites/aten/integration.nix b/modules/private/websites/aten/integration.nix index 5ccc0c1..748e388 100644 --- a/modules/private/websites/aten/integration.nix +++ b/modules/private/websites/aten/integration.nix @@ -18,10 +18,7 @@ in { systemd.services.phpfpm-aten_dev.wants = aten.phpFpm.serviceDeps; services.phpfpm.poolConfigs.aten_dev = aten.phpFpm.pool; system.activationScripts.aten_dev = aten.activationScript; - system.extraSystemBuilderCmds = '' - mkdir -p $out/webapps - ln -s ${aten.app.webRoot} $out/webapps/${aten.apache.webappName} - ''; + myServices.websites.webappDirs."${aten.apache.webappName}" = aten.app.webRoot; services.websites.integration.modules = aten.apache.modules; services.websites.integration.vhostConfs.aten = { certName = "eldiron"; -- cgit v1.2.3