This commit is contained in:
Lennart J. Kurzweg (Nx2)
2024-05-05 12:32:57 +02:00
parent 66ef004344
commit 428c531415
66 changed files with 42 additions and 12 deletions

20
system-modules/nx2site.nix Executable file
View File

@@ -0,0 +1,20 @@
{ 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;
# };
# };
services.nginx = {
enable = true;
};
};
}