nx2site and helix

This commit is contained in:
Lennart J. Kurzweg (Nx2)
2024-05-07 16:49:57 +02:00
parent 66ef004344
commit 6d78f65d60
6 changed files with 106 additions and 5 deletions

View File

@@ -0,0 +1,18 @@
{ config, pkgs, lib, user, host, ... }:
{
imports = if host == "NxACE" then [
] else [];
config = lib.mkIf (host == "NxACE") {
security.acme = {
acceptTerms = true;
defaults.email = "acme@nx2.site";
certs."nx2.site" = {
dnsProvider = "namecheap";
environmentFile = ../secrets/nx2site/namecheap-creds.env;
renewalInterval = "*-*-02 00:05:00";
};
};
};
}