add nebula mesh vpn
This commit is contained in:
parent
df0b6e5187
commit
21b1832dca
12 changed files with 203 additions and 3 deletions
|
|
@ -1,6 +1,13 @@
|
|||
## TODO use defaultSopsFile mayb
|
||||
{config, ...}: {
|
||||
sops.secrets = {
|
||||
sops.secrets = let
|
||||
loadYamlKey = key: sopsFile: overrides:
|
||||
{
|
||||
inherit sopsFile key;
|
||||
format = "yaml";
|
||||
}
|
||||
// overrides;
|
||||
in {
|
||||
wireguard = {
|
||||
format = "binary";
|
||||
sopsFile = ./wireguard;
|
||||
|
|
@ -51,5 +58,17 @@
|
|||
sopsFile = ./samba-pass;
|
||||
mode = "0600";
|
||||
};
|
||||
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