NixOS on ARM/Raspberry Pi: Difference between revisions
imported>Bennofs No edit summary |
imported>Bobvanderlinden Raspberry Pi 3B+ needs ttyS1 and not ttyS0. This has been confirmed by me ;). |
||
| Line 159: | Line 159: | ||
== Serial console== | == Serial console== | ||
Your configuration.nix will need to add <code>console= | Your <code>configuration.nix</code> will need to add <code>console=ttyS1,115200n8</code> to the <code>boot.kernelParams</code> configuration to use the serial console. | ||
{{file|/etc/nixos/configuration.nix|nix|<nowiki> | {{file|/etc/nixos/configuration.nix|nix|<nowiki> | ||
| Line 167: | Line 165: | ||
{ | { | ||
boot.kernelParams = [ | boot.kernelParams = [ | ||
"console= | "console=ttyS1,115200n8" | ||
]; | ]; | ||
} | } | ||