mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-30 03:56:12 +01:00
14 lines
265 B
Nix
14 lines
265 B
Nix
|
{ ... }:
|
||
|
{
|
||
|
boot.kernelParams = [
|
||
|
"console=ttyS1,115200"
|
||
|
"console=tty1"
|
||
|
];
|
||
|
|
||
|
boot.loader.grub.extraConfig = ''
|
||
|
serial --unit=0 --speed=115200 --word=8 --parity=no --stop=1
|
||
|
terminal_input console serial
|
||
|
terminal_output console serial
|
||
|
'';
|
||
|
}
|