nixos-hardware/hp/elitebook/2560p/network.nix

13 lines
279 B
Nix
Raw Normal View History

2022-01-24 15:15:10 -05:00
{ config, pkgs, 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"
];
};
}