nichts/modules/system/os/networking/networkmanager.nix
2025-05-09 09:37:36 +02:00

20 lines
439 B
Nix

_: {
networking.networkmanager = {
enable = true;
wifi = {
# Generate a randomized value upon each connect
macAddress = "random";
# Enable Wi-Fi power saving
powersave = true;
# Backend is either wpa_supplicant or iwd,
# I use iwd.
backend = "iwd";
# Whether to enable MAC address randomization of a Wi-Fi device during scanning.
scanRandMacAddress = true;
};
};
}