mirror of
https://github.com/davegallant/nix-config
synced 2025-08-07 21:32:27 +00:00
Move modules into modules/
This commit is contained in:
12
modules/common/networking.nix
Normal file
12
modules/common/networking.nix
Normal file
@@ -0,0 +1,12 @@
|
||||
{pkgs, ...}: {
|
||||
services.tailscale.enable = true;
|
||||
|
||||
networking = {
|
||||
firewall = {
|
||||
allowPing = false;
|
||||
enable = true;
|
||||
checkReversePath = "loose";
|
||||
trustedInterfaces = ["tailscale0"];
|
||||
};
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user