snowflake/modules/networking.nix
2023-04-24 21:12:03 -04:00

16 lines
281 B
Nix

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