From 7943e063c2200ff81abbad8fc778ff8eb57fa3c2 Mon Sep 17 00:00:00 2001 From: Jordan Holt Date: Fri, 9 Aug 2024 20:03:42 +0100 Subject: [PATCH] Prevent skycam reboot on panic --- hosts/skycam/hardware-configuration.nix | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/hosts/skycam/hardware-configuration.nix b/hosts/skycam/hardware-configuration.nix index 65f519a..a3a3728 100644 --- a/hosts/skycam/hardware-configuration.nix +++ b/hosts/skycam/hardware-configuration.nix @@ -7,9 +7,12 @@ boot = { kernelModules = [ "bcm2835-v4l2" ]; - kernelParams = [ "cma=512M" ]; - supportedFilesystems = lib.mkForce [ "f2fs" "vfat xfs" ]; - tmp.cleanOnBoot = true; + kernelParams = [ + "cma=512M" + "panic=0" + ]; + supportedFilesystems = lib.mkForce [ "f2fs" "vfat" "xfs" ]; + tmp.cleanOnBoot = false; }; nixpkgs.overlays = [