diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-01-10 22:40:32 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-01-10 22:40:32 +0100 |
commit | e4a945cd175fa78ee6373f2a30505c4322befa2b (patch) | |
tree | 8e958eaa618a06dd3fb588540ec5fc2794a25487 /virtual/modules/websites/chloe.nix | |
parent | f8bde3d6d31da84b5e81bdfc4f96efdf6bec3df2 (diff) | |
download | Nix-e4a945cd175fa78ee6373f2a30505c4322befa2b.tar.gz Nix-e4a945cd175fa78ee6373f2a30505c4322befa2b.tar.zst Nix-e4a945cd175fa78ee6373f2a30505c4322befa2b.zip |
Move goaccess to specific module
Diffstat (limited to 'virtual/modules/websites/chloe.nix')
-rw-r--r-- | virtual/modules/websites/chloe.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/virtual/modules/websites/chloe.nix b/virtual/modules/websites/chloe.nix index 67e8e1f..3309dd2 100644 --- a/virtual/modules/websites/chloe.nix +++ b/virtual/modules/websites/chloe.nix | |||
@@ -17,6 +17,14 @@ in { | |||
17 | 17 | ||
18 | config = lib.mkMerge [ | 18 | config = lib.mkMerge [ |
19 | (lib.mkIf cfg.production.enable { | 19 | (lib.mkIf cfg.production.enable { |
20 | services.myWebsites.commons.stats.enable = true; | ||
21 | services.myWebsites.commons.stats.sites = [ | ||
22 | { | ||
23 | name = "osteopathe-cc.fr"; | ||
24 | conf = ../../packages/chloe_goaccess.conf; | ||
25 | } | ||
26 | ]; | ||
27 | |||
20 | security.acme.certs."chloe" = config.services.myCertificates.certConfig // { | 28 | security.acme.certs."chloe" = config.services.myCertificates.certConfig // { |
21 | domain = "osteopathe-cc.fr"; | 29 | domain = "osteopathe-cc.fr"; |
22 | extraDomains = { | 30 | extraDomains = { |