diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2018-07-22 11:35:28 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2018-07-22 11:35:28 +0200 |
commit | af2eac7073ed302633970d30a47133499e8b53e4 (patch) | |
tree | a534062d5403a22936d022c38523f653dbf6ffbb | |
parent | a95535e8360308d0979f8844d2be3b95ec20c665 (diff) | |
download | nixos-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.nix | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 = { |