about summary refs log tree commit diff
path: root/profiles/hardware
diff options
context:
space:
mode:
Diffstat (limited to 'profiles/hardware')
-rw-r--r--profiles/hardware/amd.nix6
-rw-r--r--profiles/hardware/intel.nix5
-rw-r--r--profiles/hardware/xps9300.nix36
3 files changed, 0 insertions, 47 deletions
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 ];
-  };
-}