From e2d9524b3d11301bbb7fe6dfe0c5f06b52751cee Mon Sep 17 00:00:00 2001
From: Benoit Donneaux <benoit@leastauthority.com>
Date: Tue, 6 Jun 2023 12:25:10 +0000
Subject: [PATCH] Enable serial from morph too

Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
---
 morph/lib/hardware-vagrant.nix | 1 +
 1 file changed, 1 insertion(+)

diff --git a/morph/lib/hardware-vagrant.nix b/morph/lib/hardware-vagrant.nix
index f52d1212..d192b553 100644
--- a/morph/lib/hardware-vagrant.nix
+++ b/morph/lib/hardware-vagrant.nix
@@ -21,6 +21,7 @@
 
     boot.initrd.availableKernelModules = [ "ata_piix" "sd_mod" "sr_mod" ];
     boot.kernel.sysctl = { "vm.swappiness" = 0; };
+    boot.kernelParams = [ "console=tty0" "console=ttyS0,115200" ];
 
     # remove the fsck that runs at startup. It will always fail to run, stopping
     # your boot until you press *.
-- 
GitLab