snowflake/modules/networking.nix
2023-04-05 11:08:55 -04:00

18 lines
No EOL
286 B
Nix

{
...
}: {
networking = {
networkmanager.enable = true;
nameservers = [ "192.168.1.86" ];
firewall = {
enable = true;
};
};
environment.etc = {
"resolv.conf".text = "nameserver 192.168.1.89\n";
};
services.tailscale = {
enable = true;
};
}