diff options
| -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 = { |
