Harald Hoyer
c9038f19e6
Adjusted the parameter formatting in `acme.nix` and `nginx.nix` for better readability and consistency. The changes include standardizing the indentation and spacing for multiline declarations.
24 lines
420 B
Nix
24 lines
420 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 = {
|
|
"internal.hoyer.world" = { };
|
|
};
|
|
};
|
|
}
|