X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=modules%2Fprivate%2Fwebsites%2Fpiedsjaloux%2Fintegration.nix;h=5f574e1af3aa1d5dfacf088a17d2bf6b8508ceaf;hb=4288c2f2431fb782b0d512b1b3749187f2374b6a;hp=83b428a6459485e00db1dca0d78fdd561a353f7d;hpb=f40f5b235b890f46770a22f005f8a0f664cf0562;p=perso%2FImmae%2FConfig%2FNix.git diff --git a/modules/private/websites/piedsjaloux/integration.nix b/modules/private/websites/piedsjaloux/integration.nix index 83b428a..5f574e1 100644 --- a/modules/private/websites/piedsjaloux/integration.nix +++ b/modules/private/websites/piedsjaloux/integration.nix @@ -18,10 +18,7 @@ in { systemd.services.phpfpm-piedsjaloux_dev.preStart = lib.mkAfter piedsjaloux.phpFpm.preStart; services.phpfpm.poolConfigs.piedsjaloux_dev = piedsjaloux.phpFpm.pool; system.activationScripts.piedsjaloux_dev = 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.integration.modules = piedsjaloux.apache.modules; services.websites.integration.vhostConfs.piedsjaloux = { certName = "eldiron";