flocon/system/network/default.nix

14 lines
283 B
Nix

{config, ...}: {
networking = {
inherit (config.local.systemVars) hostName;
networkmanager = {
enable = true;
dns = "systemd-resolved";
wifi.powersave = true;
};
};
services.resolved = {
enable = true;
dnsovertls = "opportunistic";
};
}