diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2021-10-22 22:21:15 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2021-10-23 01:48:17 +0200 |
commit | 7c5e6fe8b639e3175798c097170a0b94ca7326b7 (patch) | |
tree | d5541c7d779b78942348bb60f36a411fd0b7a60e /modules/private/websites/florian/integration.nix | |
parent | 5315b439af1f72c3282549508ae58d86d66e38ec (diff) | |
download | Nix-7c5e6fe8b639e3175798c097170a0b94ca7326b7.tar.gz Nix-7c5e6fe8b639e3175798c097170a0b94ca7326b7.tar.zst Nix-7c5e6fe8b639e3175798c097170a0b94ca7326b7.zip |
Use immae.dev domain
Diffstat (limited to 'modules/private/websites/florian/integration.nix')
-rw-r--r-- | modules/private/websites/florian/integration.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/private/websites/florian/integration.nix b/modules/private/websites/florian/integration.nix index 5ebe531..8ac1f46 100644 --- a/modules/private/websites/florian/integration.nix +++ b/modules/private/websites/florian/integration.nix | |||
@@ -2,19 +2,19 @@ | |||
2 | let | 2 | let |
3 | adminer = pkgs.callPackage ../commons/adminer.nix { inherit config; }; | 3 | adminer = pkgs.callPackage ../commons/adminer.nix { inherit config; }; |
4 | cfg = config.myServices.websites.florian.integration; | 4 | cfg = config.myServices.websites.florian.integration; |
5 | varDir = "/var/lib/ftp/florian/florian.immae.eu"; | 5 | varDir = "/var/lib/ftp/florian/www.ft.immae.dev"; |
6 | env = config.myEnv.websites.florian; | 6 | env = config.myEnv.websites.florian; |
7 | in { | 7 | in { |
8 | options.myServices.websites.florian.integration.enable = lib.mkEnableOption "enable Florian's website integration"; | 8 | options.myServices.websites.florian.integration.enable = lib.mkEnableOption "enable Florian's website integration"; |
9 | 9 | ||
10 | config = lib.mkIf cfg.enable { | 10 | config = lib.mkIf cfg.enable { |
11 | security.acme.certs."ftp".extraDomains."florian.immae.eu" = null; | 11 | security.acme.certs."ftp".extraDomains."ft.immae.dev" = null; |
12 | 12 | ||
13 | services.websites.env.integration.modules = adminer.apache.modules; | 13 | services.websites.env.integration.modules = adminer.apache.modules; |
14 | services.websites.env.integration.vhostConfs.florian_integration = { | 14 | services.websites.env.integration.vhostConfs.florian_integration = { |
15 | certName = "integration"; | 15 | certName = "integration"; |
16 | addToCerts = true; | 16 | addToCerts = true; |
17 | hosts = [ "florian.immae.eu" ]; | 17 | hosts = [ "www.ft.immae.dev" ]; |
18 | root = varDir; | 18 | root = varDir; |
19 | extraConfig = [ | 19 | extraConfig = [ |
20 | (adminer.apache.vhostConf null) | 20 | (adminer.apache.vhostConf null) |