ahuston-0 6588d3fd0a
Some checks failed
Check flake.lock / Check health of `flake.lock` (push) Successful in 14s
Check Nix formatting / Perform Nix format checks (push) Successful in 2m34s
Check Nix flake / Perform Nix flake checks (ubuntu-latest) (push) Failing after 6m27s
Update flakes / createPullRequest (push) Failing after 7m10s
lego
2025-02-14 01:15:15 -05:00

44 lines
740 B
Nix

{
config,
lib,
pkgs,
outputs,
...
}:
{
security.acme = {
acceptTerms = true;
defaults.email = "aliceghuston@gmail.com";
certs."nayeonie.com" = {
dnsProvider = "bunny";
environmentFile = config.sops.secrets."acme/bunny".path;
dnsPropagationCheck = false;
group = "haproxy";
extraDomainNames = [
"*.nayeonie.com"
# "alicehuston.xyz"
# "*.alicehuston.xyz"
];
};
};
systemd.services."acme-nayeonie.com.service".path = lib.mkForce (
with pkgs;
[
coreutils
diffutils
openssl
]
++ [
outputs.packages.x86_64-linux.lego-latest
]
);
sops.secrets = {
"acme/bunny" = {
owner = "root";
};
};
}