8d35d4a180
add image-installer
11 lines
359 B
Nix
11 lines
359 B
Nix
{ pkgs, lib, ... }:
|
|
{
|
|
# IPMI SOL console redirection stuff
|
|
boot.kernelParams =
|
|
[ "console=tty0" ]
|
|
++ (lib.optional (
|
|
pkgs.stdenv.hostPlatform.isAarch32 || pkgs.stdenv.hostPlatform.isAarch64
|
|
) "console=ttyAMA0,115200")
|
|
++ (lib.optional (pkgs.stdenv.hostPlatform.isRiscV) "console=ttySIF0,115200")
|
|
++ [ "console=ttyS0,115200" ];
|
|
}
|