X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=modules%2Fprivate%2Fwebsites%2Faten%2Fproduction.nix;h=7a4adb5a2f865fc191315baed7613d234648fc6b;hb=4288c2f2431fb782b0d512b1b3749187f2374b6a;hp=7938241ead0c62a3b152fe0be8381ee6f9af9f52;hpb=f40f5b235b890f46770a22f005f8a0f664cf0562;p=perso%2FImmae%2FConfig%2FNix.git diff --git a/modules/private/websites/aten/production.nix b/modules/private/websites/aten/production.nix index 7938241..7a4adb5 100644 --- a/modules/private/websites/aten/production.nix +++ b/modules/private/websites/aten/production.nix @@ -20,10 +20,7 @@ in { systemd.services.phpfpm-aten_prod.wants = aten.phpFpm.serviceDeps; services.phpfpm.poolConfigs.aten_prod = aten.phpFpm.pool; system.activationScripts.aten_prod = 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.production.modules = aten.apache.modules; services.websites.production.vhostConfs.aten = { certName = "aten";