2025-01-14 11:01:33 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
config,
|
|
|
|
...
|
|
|
|
}: {
|
|
|
|
config = lib.mkIf (!config.local.profiles.server.enable) {
|
2025-01-14 12:43:23 +00:00
|
|
|
networking = {
|
|
|
|
inherit (config.local.systemVars) hostName;
|
|
|
|
nameservers = ["1.1.1.1" "1.0.0.1"];
|
|
|
|
networkmanager = {
|
|
|
|
enable = true;
|
|
|
|
dns = "systemd-resolved";
|
|
|
|
wifi.powersave = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
services.resolved = {
|
|
|
|
enable = true;
|
|
|
|
dnsovertls = "opportunistic";
|
|
|
|
};
|
2025-01-14 11:01:33 +00:00
|
|
|
};
|
|
|
|
}
|