snowflake/hosts/tsuki/networking.nix
2023-11-30 22:28:22 -05:00

17 lines
301 B
Nix

_: {
networking = {
networkmanager.enable = true;
nameservers = ["192.168.1.221"];
firewall = {
enable = true;
};
};
environment.etc = {
"resolv.conf".text = ''
nameserver 192.168.1.103
nameserver 1.1.1.1
'';
};
services.tailscale.enable = true;
}