chore(kernel): add systemd logs by default

Note: We should probably put all manner of debug options behind a single
or a few nix options used across modules
This commit is contained in:
Daniel Lundin 2024-11-10 14:19:29 +01:00
parent 1a035e8c7c
commit 7e2a3488ef
Signed by: dln
SSH key fingerprint: SHA256:dQy1Xj3UiqJYpKR5ggQ2bxgz4jCH8IF+k3AB8o0kmdI

View file

@ -10,8 +10,14 @@
enableContainers = false;
initrd.systemd.enable = true;
initrd.compressor = "zstd";
# FIXME: Add debug/devel option to switch default kernel params
kernelParams = [
"console=ttyS0"
# "quiet"
"console=tty1"
"console=ttyS0,38400"
"systemd.log_level=info"
"systemd.log_target=console"
];
loader.efi.canTouchEfiVariables = true;
loader.grub.enable = false;