kyra(hardening): step-ca init

Signed-off-by: s0me1newithhand7s <git+me@hand7s.org>
This commit is contained in:
s0me1newithhand7s 2026-05-03 15:56:54 +03:00
parent dd7b0cf681
commit 4b768f6a11

28
kyra/services/step-ca.nix Normal file
View file

@ -0,0 +1,28 @@
{config, ...}: {
services = {
step-ca = {
enable = true;
address = "[::]";
port = 8443;
intermediatePasswordFile = config.sops.secrets."stepPass".path;
settings = {
dnsNames = [
"ca.hand7s.org"
];
authority = {
provisioners = [
{
type = "ACME";
name = "cloudflare";
claims = {
enable_dns_01 = true;
};
}
];
};
};
};
};
}