feat(pkgs): linux 6.3 -> latest

This commit is contained in:
winston 2023-08-25 23:45:22 +02:00
parent 8867712683
commit 4f2339343b
Signed by: winston
GPG key ID: 3786770EDBC2B481

View file

@ -4,9 +4,7 @@
pkgs, pkgs,
modulesPath, modulesPath,
... ...
}: let }: {
kernel = pkgs.linuxPackages_6_3;
in {
imports = [ imports = [
(modulesPath + "/installer/scan/not-detected.nix") (modulesPath + "/installer/scan/not-detected.nix")
]; ];
@ -14,14 +12,14 @@ in {
boot = { boot = {
initrd.availableKernelModules = ["nvme" "xhci_pci" "ahci" "usbhid" "sd_mod"]; initrd.availableKernelModules = ["nvme" "xhci_pci" "ahci" "usbhid" "sd_mod"];
initrd.kernelModules = ["dm-snapshot"]; initrd.kernelModules = ["dm-snapshot"];
kernelPackages = kernel; kernelPackages = pkgs.linuxPackages_latest;
kernelModules = ["kvm-amd" "v4l2loopback"]; kernelModules = ["kvm-amd" "v4l2loopback"];
kernelParams = ["quiet" "splash"]; kernelParams = ["quiet" "splash"];
}; };
# Intel Arc A770 # Intel Arc A770
environment.sessionVariables.LIBVA_DRIVER_NAME = "iHD"; environment.sessionVariables.LIBVA_DRIVER_NAME = "iHD";
boot.extraModulePackages = [kernel.v4l2loopback]; boot.extraModulePackages = [config.boot.kernelPackages.v4l2loopback];
hardware.opengl = { hardware.opengl = {
enable = true; enable = true;
driSupport32Bit = true; driSupport32Bit = true;