X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=nixops%2Fmodules%2Fwebsites%2Ftools%2Fether.nix;h=8c9bbb181390021536716bb7c3a8650fcefc8d42;hb=7df420c27ebe7daaa4fd099c457ce9a9075b840e;hp=9c78b0cf52283a6ffb9e9d3557a90b2d640b3a1a;hpb=5af8d43b9ee0543ff212e5c51fb0e750a2b83955;p=perso%2FImmae%2FConfig%2FNix.git diff --git a/nixops/modules/websites/tools/ether.nix b/nixops/modules/websites/tools/ether.nix index 9c78b0c..8c9bbb1 100644 --- a/nixops/modules/websites/tools/ether.nix +++ b/nixops/modules/websites/tools/ether.nix @@ -1,4 +1,4 @@ -{ lib, pkgs, config, myconfig, mylibs, ... }: +{ lib, pkgs, config, myconfig, ... }: let env = myconfig.env.tools.etherpad-lite; cfg = config.services.myWebsites.tools.etherpad-lite; @@ -133,12 +133,12 @@ in { systemd.services.etherpad-lite.serviceConfig.SupplementaryGroups = "keys"; - services.myWebsites.tools.modules = [ + services.websites.tools.modules = [ "headers" "proxy" "proxy_http" "proxy_wstunnel" ]; - security.acme.certs."eldiron".extraDomains."ether.immae.eu" = null; - services.myWebsites.tools.vhostConfs.etherpad-lite = { + services.websites.tools.vhostConfs.etherpad-lite = { certName = "eldiron"; + addToCerts = true; hosts = [ "ether.immae.eu" ]; root = null; extraConfig = [ ''