pine64/rockpro64: HDMI output and Network in initrd

This commit is contained in:
Erik Alonso authored and mergify[bot] committed 2025-03-07 05:24:54 +00:00
1 parent ae546d018a
commit b48cc4dab0
3 files changed
+32

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
{ config, lib, ... }:
{
options.hardware.rockpro64.console = lib.mkOption {
default = "hdmi";
description = "Default console to use at boot.";
type = lib.types.enum [
"hdmi"
"serial"
];
};
config = lib.mkIf (config.hardware.rockpro64.console == "hdmi") {
boot.kernelParams = [
"console=ttyS0"
"console=tty0"
];
};
}