add nebula mesh vpn
This commit is contained in:
parent
df0b6e5187
commit
21b1832dca
12 changed files with 203 additions and 3 deletions
|
|
@ -1,5 +1,12 @@
|
|||
{
|
||||
sops.secrets = {
|
||||
sops.secrets = let
|
||||
loadYamlKey = key: sopsFile: overrides:
|
||||
{
|
||||
inherit sopsFile key;
|
||||
format = "yaml";
|
||||
}
|
||||
// overrides;
|
||||
in {
|
||||
wireguard-privatekey = {
|
||||
format = "binary";
|
||||
sopsFile = ./wireguard-private;
|
||||
|
|
@ -13,5 +20,17 @@
|
|||
format = "binary";
|
||||
sopsFile = ./cloudflare;
|
||||
};
|
||||
nebula-cert = loadYamlKey "nebula-cert" ./nebula.yaml {
|
||||
group = "nebula-xunmesh";
|
||||
mode = "0644";
|
||||
};
|
||||
nebula-key = loadYamlKey "nebula-key" ./nebula.yaml {
|
||||
group = "nebula-xunmesh";
|
||||
mode = "0644";
|
||||
};
|
||||
nebula-ca-cert = loadYamlKey "nebula-ca-cert" ./nebula.yaml {
|
||||
group = "nebula-xunmesh";
|
||||
mode = "0644";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue