nx2site and helix
This commit is contained in:
18
system-modules/nx2site.nix
Normal file
18
system-modules/nx2site.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user