mirror of
https://github.com/ItsDrike/nixdots
synced 2024-12-26 05:54:35 +00:00
19 lines
263 B
Nix
19 lines
263 B
Nix
{lib, ...}: {
|
|
networking = {
|
|
firewall.enable = false;
|
|
|
|
networkmanager = {
|
|
enable = true;
|
|
dns = "systemd-resolved";
|
|
};
|
|
};
|
|
|
|
services.resolved = {
|
|
enable = true;
|
|
fallbackDns = [
|
|
"9.9.9.9"
|
|
"2620:fe::fe"
|
|
];
|
|
};
|
|
}
|