snowflake/modules/networking.nix

16 lines
269 B
Nix

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