summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2018-07-22 11:35:28 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2018-07-22 11:35:28 +0200
commitaf2eac7073ed302633970d30a47133499e8b53e4 (patch)
treea534062d5403a22936d022c38523f653dbf6ffbb
parenta95535e8360308d0979f8844d2be3b95ec20c665 (diff)
downloadnixos-af2eac7073ed302633970d30a47133499e8b53e4.tar
nixos-af2eac7073ed302633970d30a47133499e8b53e4.tar.gz
nixos-af2eac7073ed302633970d30a47133499e8b53e4.tar.bz2
nixos-af2eac7073ed302633970d30a47133499e8b53e4.tar.xz
nixos-af2eac7073ed302633970d30a47133499e8b53e4.zip
serial console on odin
-rw-r--r--odin.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/odin.nix b/odin.nix
index d7a20e68..2781f664 100644
--- a/odin.nix
+++ b/odin.nix
@@ -24,6 +24,12 @@
24 # Define on which hard drive you want to install Grub. 24 # Define on which hard drive you want to install Grub.
25 boot.loader.grub.device = "/dev/disk/by-id/ata-MKNSSDCR60GB_MK130619AS1031770"; 25 boot.loader.grub.device = "/dev/disk/by-id/ata-MKNSSDCR60GB_MK130619AS1031770";
26 26
27 boot.loader.grub.extraConfig = "serial; terminal_output.serial";
28 boot.kernelParams = [ "console=ttyS0,115200"
29 ];
30
31 systemd.services."serial-getty@ttyS0.service".wantedBy = [ "getty.target" ];
32
27 boot.extraTTYs = [ "tty7" ]; 33 boot.extraTTYs = [ "tty7" ];
28 34
29 boot.initrd.network = { 35 boot.initrd.network = {