3
0
Fork 0
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:
Benjamin Staffin 2020-02-15 16:45:47 -05:00 committed by GitHub
parent 1e613230d2
commit 4c5ea02dc5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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