Refactor main into a common dir

This commit is contained in:
Dave Gallant
2021-06-24 22:43:32 -04:00
parent 152749f02d
commit d4bc0d6f75
12 changed files with 25 additions and 25 deletions

13
common/networking.nix Normal file
View File

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