only set console on aarch64-linux
This commit is contained in:
parent
b82f229a6b
commit
4206a3f07e
|
@ -42,13 +42,12 @@ in {
|
|||
|
||||
boot.kernelParams =
|
||||
[
|
||||
"console=tty0"
|
||||
"ip=${hostServerIPs.ipv4}::${gateway}:${netmask}:${hostName}:enp1s0:any"
|
||||
"boot.shell_on_fail"
|
||||
"nohibernate"
|
||||
"loglevel=4"
|
||||
]
|
||||
++ (lib.optionals (system == "aarch64-linux") ["console=tty" "console=ttyAMA0,115200" "console=ttyS0,115200"]);
|
||||
++ (lib.optionals (system == "aarch64-linux") ["console=tty"]);
|
||||
|
||||
systemd.network = {
|
||||
enable = true;
|
||||
|
|
Loading…
Reference in a new issue