diff --git a/hosts/FredOS-Gaming.nix b/hosts/FredOS-Gaming.nix index 1a8bd15..d7b88e7 100644 --- a/hosts/FredOS-Gaming.nix +++ b/hosts/FredOS-Gaming.nix @@ -76,6 +76,16 @@ boot.kernel.sysctl = { "net.ipv6.conf.all.accept_ra" = 0; "net.ipv6.conf.default.accept_ra" = 0; + # Escape hatch for a wedged GPU: Alt+SysRq+B reboots without the power + # button (amdgpu MODE1 reset hung the box on 2026-08-06). + "kernel.sysrq" = 1; + }; + + # ...and if the hang takes systemd with it, the chipset watchdog reboots + # after 30s on its own, landing back at the autologin session. + systemd.settings.Manager = { + RuntimeWatchdogSec = "30s"; + RebootWatchdogSec = "10min"; }; # NetworkManager only re-runs its connectivity probe on link-up or every