Remove device specific tweaks
This commit is contained in:
@@ -6,15 +6,8 @@ with pkgs;
|
||||
# Kernel configuration
|
||||
boot = {
|
||||
kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages;
|
||||
kernelParams = [
|
||||
"zfs.zfs_arc_max=2147483648"
|
||||
"zfs.zfs_arc_meta_limit_percent=90"
|
||||
"workqueue.power_efficient=y"
|
||||
"ahci.mobile_lpm_policy=3"
|
||||
"nmi_watchdog=0"
|
||||
"msr.allow_writes=on"
|
||||
];
|
||||
kernelModules = [ "i915" ];
|
||||
kernelParams =
|
||||
[ "zfs.zfs_arc_max=2147483648" "zfs.zfs_arc_meta_limit_percent=90" ];
|
||||
blacklistedKernelModules = [ "btusb" "bluetooth" ];
|
||||
supportedFilesystems = [ "zfs" ];
|
||||
zfs = {
|
||||
@@ -23,14 +16,9 @@ with pkgs;
|
||||
};
|
||||
};
|
||||
|
||||
# Intel CPU tweaks
|
||||
hardware.enableRedistributableFirmware = true;
|
||||
# Device firmware updates
|
||||
services.fwupd.enable = true;
|
||||
|
||||
# Hardware video acceleration
|
||||
hardware.opengl.extraPackages =
|
||||
[ intel-media-driver vaapiIntel vaapiVdpau libvdpau-va-gl ];
|
||||
|
||||
# Bootloader configuration
|
||||
boot.loader = {
|
||||
efi.canTouchEfiVariables = true;
|
||||
|
||||
Reference in New Issue
Block a user