From e0317e56497c51c3ec071e7603bdcaf0555a9257 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Sun, 9 Apr 2023 10:21:14 +0100 Subject: [PATCH] add suspend debug --- nixos/boxes/foryog/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/nixos/boxes/foryog/default.nix b/nixos/boxes/foryog/default.nix index dafc046d..74a1f9a9 100644 --- a/nixos/boxes/foryog/default.nix +++ b/nixos/boxes/foryog/default.nix @@ -16,7 +16,9 @@ fileSystems."/" = { options = [ "compress=zstd" ]; }; - boot.kernelPackages = pkgs.linuxPackages_latest; + boot.kernelParams = + [ "initcall_debug" ''dyndbg="file suspend.c +p"'' "no_console_suspend" ]; + boot.cleanTmpDir = true; boot.binfmt.emulatedSystems = [ "aarch64-linux" ]; boot.plymouth = { enable = true;