mirror of
https://github.com/gburd/nix-config.git
synced 2024-11-15 08:46:25 +00:00
19 lines
508 B
Nix
19 lines
508 B
Nix
|
{ pkgs, ... }:
|
||
|
{
|
||
|
networking = {
|
||
|
networkmanager = {
|
||
|
enable = true;
|
||
|
# Use AdGuard Public DNS with ad/tracker blocking
|
||
|
# - https://adguard-dns.io/en/public-dns.html
|
||
|
insertNameservers = [ "94.140.14.14" "94.140.15.15" ];
|
||
|
wifi = {
|
||
|
backend = "iwd";
|
||
|
powersave = false;
|
||
|
};
|
||
|
};
|
||
|
wireless.iwd.package = pkgs.unstable.iwd;
|
||
|
};
|
||
|
# Workaround https://github.com/NixOS/nixpkgs/issues/180175
|
||
|
systemd.services.NetworkManager-wait-online.enable = false;
|
||
|
}
|