Remove GPU patch from hypnos
Some checks failed
Check flake / build-amd64-linux (push) Has been cancelled
Some checks failed
Check flake / build-amd64-linux (push) Has been cancelled
This commit is contained in:
@ -1,4 +1,4 @@
|
|||||||
{ config, lib, pkgs, ... }:
|
{ config, lib, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
@ -19,8 +19,6 @@
|
|||||||
browsers = {
|
browsers = {
|
||||||
firefox.enable = true;
|
firefox.enable = true;
|
||||||
};
|
};
|
||||||
gnome.enable = lib.mkForce false;
|
|
||||||
kde.enable = true;
|
|
||||||
media.recording = {
|
media.recording = {
|
||||||
audio.enable = true;
|
audio.enable = true;
|
||||||
};
|
};
|
||||||
|
@ -8,12 +8,6 @@
|
|||||||
boot = {
|
boot = {
|
||||||
initrd.availableKernelModules = [ "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
|
initrd.availableKernelModules = [ "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
|
||||||
kernelModules = [ "applesmc" "kvm-intel" "wl" ];
|
kernelModules = [ "applesmc" "kvm-intel" "wl" ];
|
||||||
kernelPatches = [
|
|
||||||
{
|
|
||||||
name = "spoof-mac-os-x";
|
|
||||||
patch = ./0001-Add-apple_set_os-EFI-boot-service.patch;
|
|
||||||
}
|
|
||||||
];
|
|
||||||
extraModulePackages = [ config.boot.kernelPackages.broadcom_sta ];
|
extraModulePackages = [ config.boot.kernelPackages.broadcom_sta ];
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -26,16 +20,11 @@
|
|||||||
opengl = {
|
opengl = {
|
||||||
enable = true;
|
enable = true;
|
||||||
extraPackages = with pkgs; [
|
extraPackages = with pkgs; [
|
||||||
intel-vaapi-driver
|
|
||||||
intel-media-driver
|
|
||||||
libvdpau-va-gl
|
libvdpau-va-gl
|
||||||
];
|
];
|
||||||
driSupport = true;
|
driSupport = true;
|
||||||
|
driSupport32Bit = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.variables = {
|
|
||||||
VDPAU_DRIVER = "va_gl";
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user