custom certificates + ssl module to deploy it. headscale module using self-signed certificate. sops-nix secrets to deploy certificate keys. random file are also sorted.

This commit is contained in:
boyreau 2026-08-08 19:30:07 +02:00
commit 5824942904
17 changed files with 171 additions and 54 deletions

View file

@ -13,8 +13,9 @@
sops.defaultSopsFile = "/etc/nixos/ssl/keys/default.yaml";
sops.secrets.cert_main_key = {
sopsFile = "/etc/nixos/ssl/keys/main.yaml";
mode = "0600";
group = "wheel";
mode = "0060";
owner = "nobody";
group = "headscale";
path = "/etc/ssl/keys/main.pem";
};
}