X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=nixops%2Fmodules%2Fwebsites%2Fftp%2Fjerome.nix;h=5b86697610d0cb1edea14ee73fd8f5a4ddecc7e1;hb=8a964143a4173fcbd6f398fffee727f228f952fa;hp=18d16a11757ea69670330b7cb968b0bf34d01558;hpb=1b3154e40a568a296c74759d68827366b5f26da9;p=perso%2FImmae%2FConfig%2FNix.git diff --git a/nixops/modules/websites/ftp/jerome.nix b/nixops/modules/websites/ftp/jerome.nix index 18d16a1..5b86697 100644 --- a/nixops/modules/websites/ftp/jerome.nix +++ b/nixops/modules/websites/ftp/jerome.nix @@ -1,4 +1,4 @@ -{ lib, pkgs, config, myconfig, mylibs, ... }: +{ lib, pkgs, config, myconfig, ... }: let adminer = pkgs.callPackage ../commons/adminer.nix {}; cfg = config.services.myWebsites.Jerome; @@ -11,25 +11,15 @@ in { }; }; - imports = [ - ../commons/stats.nix - ]; - config = lib.mkIf cfg.production.enable { - services.myWebsites.commons.stats.enable = true; - services.myWebsites.commons.stats.sites = [ - { - name = "naturaloutil.immae.eu"; - conf = ./jerome_goaccess.conf; - } - ]; + services.webstats.sites = [ { name = "naturaloutil.immae.eu"; } ]; security.acme.certs."ftp".extraDomains."naturaloutil.immae.eu" = null; security.acme.certs."naturaloutil" = config.services.myCertificates.certConfig // { domain = "naturaloutil.immae.eu"; }; - mySecrets.keys = [{ + secrets.keys = [{ dest = "webapps/prod-naturaloutil"; user = "wwwrun"; group = "wwwrun";