Switch omen's kernel

Signed-off-by: Magic_RB <magic_rb@redalder.org>
This commit is contained in:
Magic_RB 2023-05-28 12:45:25 +02:00
parent 177d3c74a0
commit 556ecef190
No known key found for this signature in database
GPG key ID: 08D5287CC5DDCA0E

View file

@ -9,6 +9,7 @@
}:
with lib; let
cfg = config.magic_rb.hardware.omen;
kernelPackages = pkgs.linuxKernel.packages.linux_6_1;
in {
options.magic_rb.hardware.omen = mkEnableOption "Enable omen.";
@ -34,12 +35,12 @@ in {
# "nvidia.NVreg_UsePageAttributeTable=1"
# "nvidia-drm.modeset=1"
];
kernelPackages = pkgs.zfsUnstable.latestCompatibleLinuxPackages;
kernelPackages = kernelPackages;
zfs.enableUnstable = true;
};
hardware.enableRedistributableFirmware = true;
hardware.nvidia.package = pkgs.zfsUnstable.latestCompatibleLinuxPackages.nvidia_x11_beta;
hardware.nvidia.package = kernelPackages.nvidia_x11_beta;
powerManagement.cpuFreqGovernor = pkgs.lib.mkDefault "schedutil";