Remove device specific tweaks

This commit is contained in:
2024-01-05 21:30:49 +01:00
parent 48657ff49e
commit 5e0b44d6ff
3 changed files with 5 additions and 140 deletions

View File

@@ -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;