forked from mirrors/nixpkgs
grub: Update extraConfig example text (#79406)
This expands the example to something one might actually want to use to set up a serial console.
This commit is contained in:
parent
1e613230d2
commit
4c5ea02dc5
|
@ -224,7 +224,11 @@ in
|
|||
|
||||
extraConfig = mkOption {
|
||||
default = "";
|
||||
example = "serial; terminal_output.serial";
|
||||
example = ''
|
||||
serial --unit=0 --speed=115200 --word=8 --parity=no --stop=1
|
||||
terminal_input --append serial
|
||||
terminal_output --append serial
|
||||
'';
|
||||
type = types.lines;
|
||||
description = ''
|
||||
Additional GRUB commands inserted in the configuration file
|
||||
|
|
Loading…
Reference in a new issue