1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-14 23:19:41 +01:00
nixos-hardware/hp/elitebook/2560p/network.nix

13 lines
273 B
Nix
Raw Normal View History

2022-12-31 11:52:38 +01:00
{ config, lib, ... }:
2022-01-24 21:15:10 +01:00
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"
];
};
}