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:
parent
081d1fa6e1
commit
5824942904
17 changed files with 171 additions and 54 deletions
|
|
@ -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";
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue