diff options
author | tv <tv@krebsco.de> | 2019-08-02 17:03:12 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2019-08-02 17:03:12 +0200 |
commit | b92610eacb6c88fe28f46a91ee8697cb542ab6aa (patch) | |
tree | f76f371c2600f35e425dd04bb7036c395666d7fc /tv/1systems/mu | |
parent | f15434475faf17795bd296fc3570bc7dca34591a (diff) |
tv mu: reload iwlwifi on activation
Diffstat (limited to 'tv/1systems/mu')
-rw-r--r-- | tv/1systems/mu/config.nix | 7 |
1 files changed, 7 insertions, 0 deletions
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 <stockholm/lib>; 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 |