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/piedsjaloux/production.nix | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'modules/private/websites/piedsjaloux/production.nix') diff --git a/modules/private/websites/piedsjaloux/production.nix b/modules/private/websites/piedsjaloux/production.nix index 0efd56b..e3bd2dd 100644 --- a/modules/private/websites/piedsjaloux/production.nix +++ b/modules/private/websites/piedsjaloux/production.nix @@ -20,10 +20,7 @@ in { systemd.services.phpfpm-piedsjaloux_prod.preStart = lib.mkAfter piedsjaloux.phpFpm.preStart; services.phpfpm.poolConfigs.piedsjaloux_prod = piedsjaloux.phpFpm.pool; system.activationScripts.piedsjaloux_prod = piedsjaloux.activationScript; - system.extraSystemBuilderCmds = '' - mkdir -p $out/webapps - ln -s ${piedsjaloux.app.webRoot} $out/webapps/${piedsjaloux.apache.webappName} - ''; + myServices.websites.webappDirs."${piedsjaloux.apache.webappName}" = piedsjaloux.app.webRoot; services.websites.production.modules = piedsjaloux.apache.modules; services.websites.production.vhostConfs.piedsjaloux = { certName = "piedsjaloux"; -- cgit v1.2.3