From 01f21083a897b86bf148f1d2bb9c8edca4d3786a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Fri, 25 Jan 2019 23:15:08 +0100 Subject: Rename virtual folder to nixops Fixes https://git.immae.eu/mantisbt/view.php?id=82 --- virtual/modules/certificates.nix | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 virtual/modules/certificates.nix (limited to 'virtual/modules/certificates.nix') diff --git a/virtual/modules/certificates.nix b/virtual/modules/certificates.nix deleted file mode 100644 index 7fae729..0000000 --- a/virtual/modules/certificates.nix +++ /dev/null @@ -1,26 +0,0 @@ -{ lib, pkgs, config, mylibs, ... }: -{ - options.services.myCertificates = { - certConfig = lib.mkOption { - default = { - webroot = "/var/lib/acme/acme-challenge"; - email = "ismael@bouya.org"; - postRun = '' - systemctl reload httpdTools.service httpdInte.service httpdProd.service - ''; - plugins = [ "cert.pem" "chain.pem" "fullchain.pem" "full.pem" "key.pem" "account_key.json" ]; - }; - description = "Default configuration for certificates"; - }; - }; - - config = { - security.acme.preliminarySelfsigned = true; - - security.acme.certs = { - "eldiron" = config.services.myCertificates.certConfig // { - domain = "eldiron.immae.eu"; - }; - }; - }; -} -- cgit v1.2.3