mirror of
https://github.com/davegallant/nix-config
synced 2025-08-07 17:32:26 +00:00
Refactor main
This commit is contained in:
11
main/networking.nix
Normal file
11
main/networking.nix
Normal file
@@ -0,0 +1,11 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
services.tailscale.enable = true;
|
||||
|
||||
networking.firewall = {
|
||||
allowPing = false;
|
||||
enable = true;
|
||||
trustedInterfaces = [ "tailscale0" ];
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user