From b92610eacb6c88fe28f46a91ee8697cb542ab6aa Mon Sep 17 00:00:00 2001 From: tv Date: Fri, 2 Aug 2019 17:03:12 +0200 Subject: tv mu: reload iwlwifi on activation --- tv/1systems/mu/config.nix | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'tv/1systems/mu/config.nix') diff --git a/tv/1systems/mu/config.nix b/tv/1systems/mu/config.nix index f1cd7d673..98332b2d6 100644 --- a/tv/1systems/mu/config.nix +++ b/tv/1systems/mu/config.nix @@ -49,6 +49,13 @@ with import ; networking.networkmanager.enable = true; + # XXX reload to work around occasional "Failed to load firmware chunk!" + # TODO only do this if firmware is actually broken(?) + system.activationScripts.reload-iwlwifi = /* sh */ '' + ${pkgs.kmod}/bin/modprobe -vr iwlwifi + ${pkgs.kmod}/bin/modprobe -v iwlwifi + ''; + environment.systemPackages = with pkgs; [ chromium firefoxWrapper -- cgit v1.2.3