murex: fix for kernel panic
This commit is contained in:
parent
ee80e79952
commit
a64c31c7fd
12
murex.nix
12
murex.nix
@ -152,6 +152,18 @@
|
||||
"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;
|
||||
|
||||
networking.firewall = {
|
||||
|
Loading…
Reference in New Issue
Block a user