murex: fix for kernel panic

This commit is contained in:
Gabriel Ebner 2019-05-31 19:21:58 +02:00
parent ee80e79952
commit a64c31c7fd

@ -152,6 +152,18 @@
"dialout" # ttyUSB access "dialout" # ttyUSB access
]; ];
systemd.services.ethKernelPanicFix = rec {
wantedBy = [ "networking.target" ];
serviceConfig = {
Type = "oneshot";
RemainAfterExit = "yes";
};
# https://github.com/raspberrypi/linux/issues/2449
script = ''
${pkgs.ethtool}/bin/ethtool -K eth0 tx-tcp-segmentation off tx-tcp6-segmentation off
'';
};
services.mjpg-streamer.enable = true; services.mjpg-streamer.enable = true;
networking.firewall = { networking.firewall = {