aboutsummaryrefslogtreecommitdiffstats
path: root/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'default.nix')
-rw-r--r--default.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/default.nix b/default.nix
index c061c16..5e250fd 100644
--- a/default.nix
+++ b/default.nix
@@ -12,7 +12,10 @@ let
boot.loader.grub.enable = false;
boot.kernelPackages = kernelPackages;
boot.initrd.kernelModules = [ "virtio_mmio" "virtio_blk" "erofs" ];
- boot.kernelParams = [ "console=ttyS0" "reboot=k" "panic=1" ];
+ boot.kernelParams = [
+ "console=ttyS0" "reboot=k" "panic=1"
+ "8250.nr_uarts=1" # only ttyS0 exists (stops 0x2f8/0x3e8/0x2e8 probing)
+ ];
fileSystems."/" = {
fsType = "tmpfs";