1 { lib, pkgs, config, ... }:
3 adminer = pkgs.callPackage ../commons/adminer.nix { inherit config; };
4 cfg = config.myServices.websites.florian.integration;
5 varDir = "/var/lib/ftp/florian/www.ft.immae.dev";
6 env = config.myEnv.websites.florian;
8 options.myServices.websites.florian.integration.enable = lib.mkEnableOption "enable Florian's website integration";
10 config = lib.mkIf cfg.enable {
11 security.acme.certs."ftp".extraDomainNames = [ "ft.immae.dev" ];
13 services.websites.env.integration.modules = adminer.apache.modules;
14 services.websites.env.integration.vhostConfs.florian_integration = {
15 certName = "integration";
17 hosts = [ "www.ft.immae.dev" ];
20 (adminer.apache.vhostConf null)
22 ServerAdmin ${env.server_admin}
25 DirectoryIndex index.php index.htm index.html
26 Options Indexes FollowSymLinks MultiViews Includes