mirror of
https://github.com/gburd/nix-config.git
synced 2024-11-15 00:36:25 +00:00
20 lines
403 B
Nix
20 lines
403 B
Nix
|
{ config, ... }: {
|
||
|
networking = {
|
||
|
firewall = {
|
||
|
checkReversePath = "loose";
|
||
|
allowedUDPPorts = [ config.services.zerotierone.port ];
|
||
|
trustedInterfaces = [
|
||
|
# "ztwfukvgqh"
|
||
|
# "ztrfyc7hsl"
|
||
|
];
|
||
|
};
|
||
|
};
|
||
|
services.zerotierone = {
|
||
|
enable = true;
|
||
|
joinNetworks = [
|
||
|
# "e4da7455b2decfb5"
|
||
|
# "3efa5cb78a7329c1"
|
||
|
];
|
||
|
};
|
||
|
}
|