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