summaryrefslogtreecommitdiffstats
path: root/tv/1systems
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2019-08-02 17:03:12 +0200
committertv <tv@krebsco.de>2019-08-02 17:03:12 +0200
commita191e11b65af72623a62df2248e5207cc266a340 (patch)
tree2f9d8041bbaa10dfde95aa6d14e90bca25195316 /tv/1systems
parent575a5ef786bd227b013129322ac687596af0a784 (diff)
tv mu: reload iwlwifi on activation
Diffstat (limited to 'tv/1systems')
-rw-r--r--tv/1systems/mu/config.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/tv/1systems/mu/config.nix b/tv/1systems/mu/config.nix
index f1cd7d6..98332b2 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