From a9ccf194632f12fdba9c6c62a7a449f28993e57b Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Mon, 5 Jul 2021 13:07:32 -0400 Subject: [PATCH] shiro: register default wireless interface --- hosts/shiro/hardware-configuration.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hosts/shiro/hardware-configuration.nix b/hosts/shiro/hardware-configuration.nix index 8d694bcc..68e3e383 100644 --- a/hosts/shiro/hardware-configuration.nix +++ b/hosts/shiro/hardware-configuration.nix @@ -38,6 +38,9 @@ # performance gives better battery life/perf than ondemand on sandy bridge and # newer because of intel pstates. powerManagement.cpuFreqGovernor = "performance"; + # Without this wpa_supplicant may fail to auto-discover wireless interfaces at + # startup (and must be restarted). + networking.wireless.interfaces = [ "wlp2s0" ]; # Power management environment.systemPackages = [ pkgs.acpi ];