1 { lib, pkgs, config, myconfig, mylibs, ... }:
3 cfg = config.services.myWebsites.Nassime;
4 varDir = "/var/lib/ftp/nassime";
5 env = myconfig.env.websites.nassime;
7 options.services.myWebsites.Nassime = {
9 enable = lib.mkEnableOption "enable Nassime's website";
17 config = lib.mkIf cfg.production.enable {
18 services.myWebsites.commons.stats.enable = true;
19 services.myWebsites.commons.stats.sites = [
20 { name = "nassime.bouya.org"; }
23 security.acme.certs."ftp".extraDomains."nassime.bouya.org" = null;
24 security.acme.certs."nassime" = config.services.myCertificates.certConfig // {
25 domain = "nassime.bouya.org";
28 services.myWebsites.production.vhostConfs.nassime = {
30 hosts = ["nassime.bouya.org" ];
34 Use Stats nassime.bouya.org
35 ServerAdmin ${env.server_admin}
38 DirectoryIndex index.php index.htm index.html
39 Options Indexes FollowSymLinks MultiViews Includes