aboutsummaryrefslogtreecommitdiff
path: root/modules/private/websites/default.nix
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/default.nix
parent2e48907d64491a06454b342a1a56d03a0835753d (diff)
downloadNix-29f8cb850d74b456d6481a456311bbf5361d328c.tar.gz
Nix-29f8cb850d74b456d6481a456311bbf5361d328c.tar.zst
Nix-29f8cb850d74b456d6481a456311bbf5361d328c.zip
Refactor websites options
Diffstat (limited to 'modules/private/websites/default.nix')
-rw-r--r--modules/private/websites/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/private/websites/default.nix b/modules/private/websites/default.nix
index c3d941c..0d420ea 100644
--- a/modules/private/websites/default.nix
+++ b/modules/private/websites/default.nix
@@ -142,7 +142,7 @@ in
142 services.filesWatcher.httpdInte.paths = [ "/var/secrets/apache-ldap" ]; 142 services.filesWatcher.httpdInte.paths = [ "/var/secrets/apache-ldap" ];
143 services.filesWatcher.httpdTools.paths = [ "/var/secrets/apache-ldap" ]; 143 services.filesWatcher.httpdTools.paths = [ "/var/secrets/apache-ldap" ];
144 144
145 services.websites.production = { 145 services.websites.env.production = {
146 enable = true; 146 enable = true;
147 adminAddr = "httpd@immae.eu"; 147 adminAddr = "httpd@immae.eu";
148 httpdName = "Prod"; 148 httpdName = "Prod";
@@ -159,7 +159,7 @@ in
159 }; 159 };
160 }; 160 };
161 161
162 services.websites.integration = { 162 services.websites.env.integration = {
163 enable = true; 163 enable = true;
164 adminAddr = "httpd@immae.eu"; 164 adminAddr = "httpd@immae.eu";
165 httpdName = "Inte"; 165 httpdName = "Inte";
@@ -176,7 +176,7 @@ in
176 }; 176 };
177 }; 177 };
178 178
179 services.websites.tools = { 179 services.websites.env.tools = {
180 enable = true; 180 enable = true;
181 adminAddr = "httpd@immae.eu"; 181 adminAddr = "httpd@immae.eu";
182 httpdName = "Tools"; 182 httpdName = "Tools";