From 8e546ca4f66b5608792c3c5b7628149ae42e3761 Mon Sep 17 00:00:00 2001 From: isabel Date: Wed, 13 May 2026 18:40:01 +0100 Subject: [PATCH] nixos/kernel/params: add headless pamras --- modules/nixos/kernel/params.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/modules/nixos/kernel/params.nix b/modules/nixos/kernel/params.nix index 94d66512..21bd1eb5 100644 --- a/modules/nixos/kernel/params.nix +++ b/modules/nixos/kernel/params.nix @@ -111,5 +111,12 @@ in # rd prefix means systemd-udev will be used instead of initrd "systemd.show_status=auto" "rd.systemd.show_status=auto" + ] + ++ optionals config.garden.profiles.headless.enable [ + # since these are machines where we cannot interact with them. just reboot on panic + "panic=1" + "boot.panic_on_fail" + "vga=0x317" + "nomodeset" ]; } -- 2.51.2