Refactor main

This commit is contained in:
Dave Gallant
2021-05-03 20:24:22 -04:00
parent 2e3b48f9ca
commit 03fc53bf39
5 changed files with 41 additions and 45 deletions

11
main/networking.nix Normal file
View File

@@ -0,0 +1,11 @@
{ pkgs, ... }:
{
services.tailscale.enable = true;
networking.firewall = {
allowPing = false;
enable = true;
trustedInterfaces = [ "tailscale0" ];
};
}