mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
fix silent boot and remove extra zfs stuff
This commit is contained in:
parent
d493b989cd
commit
f872b7f9d2
2 changed files with 4 additions and 16 deletions
|
|
@ -32,15 +32,8 @@ _:
|
||||||
};
|
};
|
||||||
kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages;
|
kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages;
|
||||||
#disable hibernate and set cache max
|
#disable hibernate and set cache max
|
||||||
kernelParams = [
|
kernelParams = [ "zfs.zfs_arc_max=17179869184" ];
|
||||||
"nohibernate"
|
|
||||||
"zfs.zfs_arc_max=17179869184"
|
|
||||||
];
|
|
||||||
initrd = {
|
initrd = {
|
||||||
supportedFilesystems = [
|
|
||||||
"zfs"
|
|
||||||
"vfat"
|
|
||||||
];
|
|
||||||
#module for multiple swap devices
|
#module for multiple swap devices
|
||||||
kernelModules = [ "dm_mod" ];
|
kernelModules = [ "dm_mod" ];
|
||||||
#keyboard module for zfs password
|
#keyboard module for zfs password
|
||||||
|
|
@ -92,10 +85,5 @@ _:
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
systemd.services.zfs-mount.enable = false;
|
|
||||||
services.zfs = {
|
|
||||||
autoScrub.enable = true;
|
|
||||||
trim.enable = true;
|
|
||||||
};
|
|
||||||
_file = ./zfs.nix;
|
_file = ./zfs.nix;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@
|
||||||
};
|
};
|
||||||
boot = {
|
boot = {
|
||||||
blacklistedKernelModules = [ "pcspkr" ];
|
blacklistedKernelModules = [ "pcspkr" ];
|
||||||
kernelParams = lib.mkAfter [
|
kernelParams = lib.mkBefore [
|
||||||
"acpi_call"
|
"acpi_call"
|
||||||
"pti=auto"
|
"pti=auto"
|
||||||
"randomize_kstack_offset=on"
|
"randomize_kstack_offset=on"
|
||||||
|
|
@ -36,10 +36,10 @@
|
||||||
"logo.nologo"
|
"logo.nologo"
|
||||||
"fbcon=nodefer"
|
"fbcon=nodefer"
|
||||||
"bgrt_disable"
|
"bgrt_disable"
|
||||||
"systemd.show_status=false"
|
|
||||||
"rd.udev.log_level=3"
|
|
||||||
"vt.global_cursor_default=0"
|
"vt.global_cursor_default=0"
|
||||||
"quiet"
|
"quiet"
|
||||||
|
"systemd.show_status=false"
|
||||||
|
"rd.udev.log_level=3"
|
||||||
"splash"
|
"splash"
|
||||||
];
|
];
|
||||||
consoleLogLevel = 3;
|
consoleLogLevel = 3;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue