nixos-hardware/hp/elitebook/2560p/network.nix
2022-12-31 11:57:44 +01:00

13 lines
273 B
Nix

{ config, lib, ... }:
with lib;
{
config = {
# Wifi can't connect if rand mac address is used
networking.networkmanager.extraConfig = concatStringsSep "\n" [
"[device]"
"match-device=driver:iwlwifi"
"wifi.scan-rand-mac-address=no"
];
};
}