snowflake/modules/networking.nix
2023-04-23 14:22:15 -04:00

18 lines
276 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;
};
}