aboutsummaryrefslogtreecommitdiff
path: root/nixops/modules/websites/piedsjaloux/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixops/modules/websites/piedsjaloux/default.nix')
-rw-r--r--nixops/modules/websites/piedsjaloux/default.nix9
1 files changed, 1 insertions, 8 deletions
diff --git a/nixops/modules/websites/piedsjaloux/default.nix b/nixops/modules/websites/piedsjaloux/default.nix
index 1657914..9f9697d 100644
--- a/nixops/modules/websites/piedsjaloux/default.nix
+++ b/nixops/modules/websites/piedsjaloux/default.nix
@@ -19,17 +19,10 @@ in {
19 }; 19 };
20 }; 20 };
21 21
22 imports = [
23 ../commons/stats.nix
24 ];
25
26 config = lib.mkMerge [ 22 config = lib.mkMerge [
27 (lib.mkIf cfg.production.enable { 23 (lib.mkIf cfg.production.enable {
28 secrets.keys = piedsjaloux_prod.keys; 24 secrets.keys = piedsjaloux_prod.keys;
29 services.myWebsites.commons.stats.enable = true; 25 services.webstats.sites = [ { name = "piedsjaloux.fr"; } ];
30 services.myWebsites.commons.stats.sites = [
31 { name = "piedsjaloux.fr"; }
32 ];
33 26
34 security.acme.certs."piedsjaloux" = config.services.myCertificates.certConfig // { 27 security.acme.certs."piedsjaloux" = config.services.myCertificates.certConfig // {
35 domain = "piedsjaloux.fr"; 28 domain = "piedsjaloux.fr";