'';
};
system.activationScripts.chloe_dev = chloe.activationScript;
- system.extraSystemBuilderCmds = ''
- mkdir -p $out/webapps
- ln -s ${chloe.app.webRoot} $out/webapps/${chloe.apache.webappName}
- '';
- services.websites.integration.modules = chloe.apache.modules;
- services.websites.integration.vhostConfs.chloe = {
+ myServices.websites.webappDirs."${chloe.apache.webappName}" = chloe.app.webRoot;
+ services.websites.env.integration.modules = chloe.apache.modules;
+ services.websites.env.integration.vhostConfs.chloe = {
certName = "eldiron";
addToCerts = true;
hosts = ["chloe.immae.eu" ];
root = chloe.apache.root;
extraConfig = [ chloe.apache.vhostConf ];
};
+ services.websites.env.integration.watchPaths = [
+ "/var/secrets/webapps/${chloe.app.environment}-chloe"
+ ];
};
}