From 543fcc38c9c48349d6988b1ace119f0cef2d6efa Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sat, 9 Dec 2023 09:15:23 -0800 Subject: delete even more unused configurations --- profiles/hardware/amd.nix | 6 ------ profiles/hardware/intel.nix | 5 ----- profiles/hardware/xps9300.nix | 36 ------------------------------------ 3 files changed, 47 deletions(-) delete mode 100644 profiles/hardware/amd.nix delete mode 100644 profiles/hardware/intel.nix delete mode 100644 profiles/hardware/xps9300.nix (limited to 'profiles/hardware') diff --git a/profiles/hardware/amd.nix b/profiles/hardware/amd.nix deleted file mode 100644 index dc933ee..0000000 --- a/profiles/hardware/amd.nix +++ /dev/null @@ -1,6 +0,0 @@ -{ ... }: -{ - hardware.cpu.amd.updateMicrocode = true; - boot.kernelModules = [ "kvm-amd" "k10temp" ]; - boot.kernelParams = [ "amd_pstate=passive" ]; -} diff --git a/profiles/hardware/intel.nix b/profiles/hardware/intel.nix deleted file mode 100644 index 756ad9a..0000000 --- a/profiles/hardware/intel.nix +++ /dev/null @@ -1,5 +0,0 @@ -{ ... }: -{ - hardware.cpu.intel.updateMicrocode = true; - boot.kernelModules = [ "kvm-intel" ]; -} diff --git a/profiles/hardware/xps9300.nix b/profiles/hardware/xps9300.nix deleted file mode 100644 index 72a8b5e..0000000 --- a/profiles/hardware/xps9300.nix +++ /dev/null @@ -1,36 +0,0 @@ -{ config, pkgs, ... }: -{ - imports = [ - ./intel.nix - ]; - - boot.kernelParams = [ - "mem_sleep_default=deep" - ]; - - # Touchpad goes over i2c, and the psmouse module interferes with it - boot.blacklistedKernelModules = [ "psmouse" ]; - - # Includes the Wi-Fi and Bluetooth firmware for the QCA6390. - hardware.enableRedistributableFirmware = true; - - networking.wireless.iwd.enable = true; - hardware.bluetooth.enable = true; - services.blueman.enable = true; - - boot.initrd.kernelModules = [ "i915" "acpi_call" ]; - - environment.variables = { - VDPAU_DRIVER = "va_gl"; - }; - - hardware.opengl.extraPackages = with pkgs; [ - vaapiIntel - libvdpau-va-gl - intel-media-driver - ]; - - boot = { - extraModulePackages = with config.boot.kernelPackages; [ acpi_call ]; - }; -} -- cgit 1.4.1