17 lines
289 B
Nix
17 lines
289 B
Nix
_: {
|
|
networking = {
|
|
networkmanager.enable = true;
|
|
nameservers = ["1.1.1.1"];
|
|
firewall = {
|
|
enable = true;
|
|
};
|
|
};
|
|
environment.etc = {
|
|
"resolv.conf".text = ''
|
|
nameserver 1.1.1.1
|
|
nameserver 1.0.0.1
|
|
'';
|
|
};
|
|
|
|
services.tailscale.enable = true;
|
|
}
|