nixcfg/systems/x86_64-linux/sgx/acme.nix
Harald Hoyer f45a366528 refactor(sgx): rename internal host to openwebui
Updated ACME and nginx configurations to replace "internal.hoyer.world" with "openwebui.hoyer.world". This ensures correct routing and certificate management for the updated domain.
2025-01-08 15:18:42 +01:00

24 lines
421 B
Nix

{
pkgs,
lib,
config,
...
}:
{
sops.secrets.internetbs = {
sopsFile = ../../../.secrets/sgx/internetbs.yaml; # bring your own password file
};
security.acme = {
acceptTerms = true;
defaults = {
email = "harald@hoyer.xyz";
dnsProvider = "cloudflare";
credentialsFile = config.sops.secrets.internetbs.path;
};
certs = {
"openwebui.hoyer.world" = { };
};
};
}