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;
2023-04-22 03:21:08 -04:00
nameservers = [ "192.168.1.89" ];
2023-04-02 09:12:41 -04:00
firewall = {
enable = true;
};
};
environment.etc = {
2023-04-22 03:21:08 -04:00
"resolv.conf".text = "nameserver 192.168.1.89\n";
2023-04-02 09:12:41 -04:00
};
2023-04-02 10:42:50 -04:00
services.tailscale = {
enable = true;
};
2023-04-02 09:12:41 -04:00
}