Merged networking folder into core and services
This commit is contained in:
parent
1aaed31ae1
commit
3360f30690
6 changed files with 3 additions and 6 deletions
13
system/services/tailscale.nix
Normal file
13
system/services/tailscale.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
networking.firewall = {
|
||||
trustedInterfaces = ["tailscale0"];
|
||||
# required to connect to Tailscale exit nodes
|
||||
checkReversePath = "loose";
|
||||
};
|
||||
|
||||
# inter-machine VPN
|
||||
services.tailscale = {
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue