nichts/modules/system/os/networking/networkmanager.nix

26 lines
551 B
Nix
Raw Normal View History

2025-05-08 19:51:32 +02:00
_: {
networking.networkmanager = {
enable = true;
unmanaged = [
# DO NOT manage my docker containers, thank you.
"interface-name:docker*"
];
wifi = {
# Generate a randomized value upon each connect
2024-08-16 23:05:45 +02:00
macAddress = "random";
# Enable Wi-Fi power saving
powersave = true;
# Backend is either wpa_supplicant or iwd,
2025-05-08 19:51:32 +02:00
# I use iwd.
backend = "iwd";
# Whether to enable MAC address randomization of a Wi-Fi device during scanning.
scanRandMacAddress = true;
};
};
}