From af2eac7073ed302633970d30a47133499e8b53e4 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 22 Jul 2018 11:35:28 +0200 Subject: serial console on odin --- odin.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/odin.nix b/odin.nix index d7a20e68..2781f664 100644 --- a/odin.nix +++ b/odin.nix @@ -24,6 +24,12 @@ # Define on which hard drive you want to install Grub. boot.loader.grub.device = "/dev/disk/by-id/ata-MKNSSDCR60GB_MK130619AS1031770"; + boot.loader.grub.extraConfig = "serial; terminal_output.serial"; + boot.kernelParams = [ "console=ttyS0,115200" + ]; + + systemd.services."serial-getty@ttyS0.service".wantedBy = [ "getty.target" ]; + boot.extraTTYs = [ "tty7" ]; boot.initrd.network = { -- cgit v1.2.3