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