mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 14:01:34 +01:00
nebula: Configure ssh server
This commit is contained in:
parent
94ac7bbca3
commit
b4191c56aa
2 changed files with 39 additions and 3 deletions
|
|
@ -61,11 +61,11 @@ in
|
|||
};
|
||||
|
||||
sops.secrets."nebula/host-key" = {
|
||||
owner = config.users.users.nebula-main.name;
|
||||
restartUnits = [ "nebula@main.service" ];
|
||||
owner = config.users.users.nebula-mesh.name;
|
||||
restartUnits = [ "nebula@mesh.service" ];
|
||||
};
|
||||
|
||||
services.nebula.networks.main = {
|
||||
services.nebula.networks.mesh = {
|
||||
enable = true;
|
||||
|
||||
ca = ./ca.crt;
|
||||
|
|
@ -106,5 +106,7 @@ in
|
|||
logging.level = "warning";
|
||||
};
|
||||
};
|
||||
|
||||
networking.firewall.trustedInterfaces = [ "nebula.mesh" ];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue