mirror of
https://github.com/TheWanderingCrow/CrOS.git
synced 2026-01-19 05:24:12 -05:00
nebula test run
This commit is contained in:
parent
ef9e7a469f
commit
39dca4da02
3 changed files with 22 additions and 4 deletions
|
|
@ -7,10 +7,27 @@
|
|||
}:
|
||||
lib.mkIf config.user.lighthouse.enable {
|
||||
|
||||
|
||||
sops = {
|
||||
age.keyFile = "/var/lib/sops-nix/key.txt";
|
||||
age.generateKey = true;
|
||||
};
|
||||
|
||||
sops.secrets.cert = {};
|
||||
sops.secrets.key = {};
|
||||
|
||||
services.nebula.networks.test = {
|
||||
enable = true;
|
||||
isLighthouse = true;
|
||||
ca = inputs.nix-secrets.nebula.ca;
|
||||
cert = config.sops.secrets.cert.path;
|
||||
key = config.sops.secrets.key.path;
|
||||
settings = {
|
||||
listen = {
|
||||
host = "0.0.0.0";
|
||||
port = 4242;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue