feat(pkgs): linux 6.3 -> latest
This commit is contained in:
parent
8867712683
commit
4f2339343b
1 changed files with 3 additions and 5 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue