aboutsummaryrefslogtreecommitdiff
path: root/modules/private/websites/capitaines
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2019-06-01 12:51:51 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2019-06-01 13:32:32 +0200
commit29f8cb850d74b456d6481a456311bbf5361d328c (patch)
tree2bdcdc21780950683d0528da66b050f2a24e3b20 /modules/private/websites/capitaines
parent2e48907d64491a06454b342a1a56d03a0835753d (diff)
downloadNix-29f8cb850d74b456d6481a456311bbf5361d328c.tar.gz
Nix-29f8cb850d74b456d6481a456311bbf5361d328c.tar.zst
Nix-29f8cb850d74b456d6481a456311bbf5361d328c.zip
Refactor websites options
Diffstat (limited to 'modules/private/websites/capitaines')
-rw-r--r--modules/private/websites/capitaines/production.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/private/websites/capitaines/production.nix b/modules/private/websites/capitaines/production.nix
index 57d8787..995e2cc 100644
--- a/modules/private/websites/capitaines/production.nix
+++ b/modules/private/websites/capitaines/production.nix
@@ -11,7 +11,7 @@ in {
11 config = lib.mkIf cfg.enable { 11 config = lib.mkIf cfg.enable {
12 myServices.websites.webappDirs."${webappName}" = siteDir; 12 myServices.websites.webappDirs."${webappName}" = siteDir;
13 13
14 services.websites.production.vhostConfs.capitaines_mastodon = { 14 services.websites.env.production.vhostConfs.capitaines_mastodon = {
15 certName = "capitaines"; 15 certName = "capitaines";
16 certMainHost = "mastodon.capitaines.fr"; 16 certMainHost = "mastodon.capitaines.fr";
17 hosts = [ "mastodon.capitaines.fr" ]; 17 hosts = [ "mastodon.capitaines.fr" ];
@@ -28,7 +28,7 @@ in {
28 ]; 28 ];
29 }; 29 };
30 30
31 services.websites.production.vhostConfs.capitaines = { 31 services.websites.env.production.vhostConfs.capitaines = {
32 certName = "capitaines"; 32 certName = "capitaines";
33 addToCerts = true; 33 addToCerts = true;
34 hosts = [ "capitaines.fr" ]; 34 hosts = [ "capitaines.fr" ];