disabele ip and enable more verbose?

This commit is contained in:
chaos 2023-09-20 17:12:12 +01:00
parent f6250a6951
commit 350391eb47
No known key found for this signature in database

View file

@ -41,14 +41,16 @@ in {
];
boot.kernelPackages = pkgs.linuxPackages_latest;
boot.initrd.verbose = true;
boot.kernelParams =
[
"console=tty0"
"ip=${serverIPs.ipv4}::${gateway}:${netmask}:${hostName}:enp1s0:any"
#"ip=${serverIPs.ipv4}::${gateway}:${netmask}:${hostName}:enp1s0:any"
"boot.shell_on_fail"
"nohibernate"
"loglevel=4"
"loglevel=5"
"verbose"
]
++ (lib.optionals (system == "aarch64-linux") ["console=tty" "console=ttyAMA0,115200" "console=ttyS0,115200"]);