snowflake/modules/networking.nix

18 lines
276 B
Nix
Raw Normal View History

2023-04-02 09:12:41 -04:00
{
...
}: {
networking = {
networkmanager.enable = true;
nameservers = [ "1.1.1.1" ];
2023-04-02 09:12:41 -04:00
firewall = {
enable = true;
};
};
environment.etc = {
"resolv.conf".text = "nameserver 1.1.1.1\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
}