LDAPOpCacheTTL 600
</IfModule>
- Include /var/secrets/apache-ldap
+ Include ${config.secrets.fullPaths."apache-ldap"}
'';
};
global = {
users.users.wwwrun.extraGroups = [ "keys" ];
networking.firewall.allowedTCPPorts = [ 80 443 ];
- secrets.keys = [{
- dest = "apache-ldap";
+ secrets.keys."apache-ldap" = {
user = "wwwrun";
group = "wwwrun";
permissions = "0400";
</IfModule>
</Macro>
'';
- }];
+ };
system.activationScripts = {
httpd = ''
};
};
- services.filesWatcher.httpdProd.paths = [ "/var/secrets/apache-ldap" ];
- services.filesWatcher.httpdInte.paths = [ "/var/secrets/apache-ldap" ];
- services.filesWatcher.httpdTools.paths = [ "/var/secrets/apache-ldap" ];
+ services.filesWatcher.httpdProd.paths = [ config.secrets.fullPaths."apache-ldap" ];
+ services.filesWatcher.httpdInte.paths = [ config.secrets.fullPaths."apache-ldap" ];
+ services.filesWatcher.httpdTools.paths = [ config.secrets.fullPaths."apache-ldap" ];
services.websites.env.production = {
enable = true;
_theme = pkgs.webapps.apache-theme.theme;
};
myServices.websites = {
+ bakeer.cloud.enable = true;
capitaines.landing_pages.enable = true;
chloe = {
evariste.enable = true;
denisejerome.enable = true;
oms.enable = true;
+ bingo.enable = true;
aventuriers.enable = true;
production.enable = true;
};
- emilia.moodle.enable = true;
+ emilia = {
+ moodle.enable = false;
+ atelierfringant.enable = true;
+ };
florian = {
app.enable = true;
nassime.production.enable = true;
- nathanael.villon.enable = true;
+ nath.villon.enable = true;
papa = {
surveillance.enable = true;
production.enable = true;
};
+ ressourcerie_banon.production.enable = true;
+ ressourcerie_banon.cryptpad.enable = true;
+ ressourcerie_banon.cloud.enable = true;
+
richie.production.enable = true;
syden.peertube.enable = true;
tools.assets.enable = true;
tools.cloud.enable = true;
tools.commento.enable = true;
+ tools.cryptpad.enable = true;
tools.dav.enable = true;
tools.db.enable = true;
tools.diaspora.enable = true;
tools.performance.enable = true;
tools.tools.enable = true;
tools.email.enable = true;
+ tools.stats.enable = false;
games.codenames.enable = true;
+ games.terraforming-mars.enable = true;
};
};
}