3 cfg = config.myServices.websites.papa.maison_bbc;
5 options.myServices.websites.papa.maison_bbc.enable = lib.mkEnableOption "enable Papa Maison bbc website";
7 config = lib.mkIf cfg.enable {
8 services.webstats.sites = [ { name = "maison.bbc.bouya.org"; } ];
10 services.websites.env.production.vhostConfs.papa_maison_bbc = {
13 hosts = [ "maison.bbc.bouya.org" ];
14 root = ./maison_bbc_static;
17 ErrorDocument 404 /index.html
18 <Directory ${./maison_bbc_static}>
19 DirectoryIndex index.htm index.html