faster boot
This commit is contained in:
1 parent
c6d017698f
commit
526a36b6e6
3 files changed
+24
-2
No files matched your search
@@ -2,7 +2,16 @@
|
||||
let isSANDBOX = builtins.elem config.syscfg.hostname [ "sandbox" ];
|
||||
in {
|
||||
config = lib.mkIf (!isSANDBOX) {
|
||||
boot.kernelParams = [
|
||||
"async_probe=tpm*" # Load TPM in parallel without blocking udev
|
||||
"8250.nr_uarts=0" # Stop scanning for old motherboard serial lines (ttyS0-S3)
|
||||
];
|
||||
boot.initrd = {
|
||||
compressor = "zstd";
|
||||
checkJournalingFS = false;
|
||||
};
|
||||
boot.loader = {
|
||||
timeout = 2;
|
||||
systemd-boot = {
|
||||
enable = true;
|
||||
configurationLimit = 8;
|
||||
|
||||
Reference in new issue
Block a user