snowflake/modules/networking.nix
2023-06-14 23:37:35 -04:00

14 lines
264 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;
}