From baac9ac61f3be12218af0a2590cd5e035417c207 Mon Sep 17 00:00:00 2001 From: Jordan Holt Date: Sat, 15 Jun 2024 22:10:36 +0100 Subject: [PATCH] Remove GPU patch from hypnos --- hosts/hypnos/default.nix | 4 +--- hosts/hypnos/hardware-configuration.nix | 13 +------------ 2 files changed, 2 insertions(+), 15 deletions(-) diff --git a/hosts/hypnos/default.nix b/hosts/hypnos/default.nix index 07853d7..d67ca5e 100644 --- a/hosts/hypnos/default.nix +++ b/hosts/hypnos/default.nix @@ -1,4 +1,4 @@ -{ config, lib, pkgs, ... }: +{ config, lib, ... }: { imports = [ @@ -19,8 +19,6 @@ browsers = { firefox.enable = true; }; - gnome.enable = lib.mkForce false; - kde.enable = true; media.recording = { audio.enable = true; }; diff --git a/hosts/hypnos/hardware-configuration.nix b/hosts/hypnos/hardware-configuration.nix index 30b58ee..fbc0f12 100644 --- a/hosts/hypnos/hardware-configuration.nix +++ b/hosts/hypnos/hardware-configuration.nix @@ -8,12 +8,6 @@ boot = { initrd.availableKernelModules = [ "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ]; 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 ]; }; @@ -26,16 +20,11 @@ opengl = { enable = true; extraPackages = with pkgs; [ - intel-vaapi-driver - intel-media-driver libvdpau-va-gl ]; driSupport = true; + driSupport32Bit = true; }; }; - - environment.variables = { - VDPAU_DRIVER = "va_gl"; - }; }