summaryrefslogtreecommitdiffstats
path: root/tv/1systems/mu/config.nix
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2019-08-13 15:35:12 +0200
committerlassulus <lassulus@lassul.us>2019-08-13 15:35:12 +0200
commit0699b41b05a1f9cd133c15c3aadf70c3a45170f6 (patch)
tree0bdd752d8a9ec64acb12ff160826a19b2e11e95c /tv/1systems/mu/config.nix
parente754ced01e2d5ef84dabba391bba2f372694b7cb (diff)
parent681075a8f41ecfbac4c113481adde4d61f497c36 (diff)
Merge remote-tracking branch 'ni/master'
Diffstat (limited to 'tv/1systems/mu/config.nix')
-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 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