snowflake/modules/networking.nix
2023-06-23 22:27:06 -04:00

18 lines
290 B
Nix

{
pkgs,
config,
...
}: {
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;
}