2024-12-06 09:38:15 +01:00
|
|
|
{
|
|
|
|
pkgs,
|
|
|
|
lib,
|
|
|
|
config,
|
|
|
|
...
|
|
|
|
}:
|
|
|
|
{
|
|
|
|
sops.secrets.internetbs = {
|
2024-12-06 09:50:56 +01:00
|
|
|
sopsFile = ../../../.secrets/sgx/internetbs.yaml; # bring your own password file
|
2024-12-06 09:38:15 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
security.acme = {
|
|
|
|
acceptTerms = true;
|
|
|
|
defaults = {
|
|
|
|
email = "harald@hoyer.xyz";
|
|
|
|
dnsProvider = "cloudflare";
|
|
|
|
credentialsFile = config.sops.secrets.internetbs.path;
|
|
|
|
};
|
|
|
|
certs = {
|
|
|
|
"internal.hoyer.world" = { };
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|