snowflake/modules/networking.nix

18 lines
286 B
Nix
Raw Normal View History

2023-04-02 09:12:41 -04:00
{
...
}: {
networking = {
networkmanager.enable = true;
nameservers = [ "192.168.1.86" ];
firewall = {
enable = true;
};
};
environment.etc = {
"resolv.conf".text = "nameserver 192.168.1.86\n";
};
2023-04-02 10:42:50 -04:00
services.tailscale = {
enable = true;
};
2023-04-02 09:12:41 -04:00
}