18 lines
290 B
Nix
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;
|
|
}
|