snowflake/modules/networking.nix

19 lines
290 B
Nix
Raw Normal View History

2023-06-23 22:27:06 -04:00
{
pkgs,
config,
...
}: {
2023-04-02 09:12:41 -04:00
networking = {
networkmanager.enable = true;
2023-04-24 21:12:03 -04:00
nameservers = ["192.168.1.221"];
2023-04-02 09:12:41 -04:00
firewall = {
enable = true;
};
};
2023-04-23 17:45:37 -04:00
environment.etc = {
2023-04-24 21:12:03 -04:00
"resolv.conf".text = "nameserver 192.168.1.221\n";
2023-04-02 09:12:41 -04:00
};
2023-04-02 10:42:50 -04:00
2023-06-14 23:37:35 -04:00
services.tailscale.enable = true;
2023-04-23 17:45:37 -04:00
}