From 57ceabb1a153dde10ce6ed25d03c46190bd4f952 Mon Sep 17 00:00:00 2001 From: Henry-Hiles Date: Thu, 19 Nov 2026 14:01:45 -0500 Subject: [PATCH] remove leftover hardware stuff from old laptop --- clients/quadtop/gamescope.nix | 2 +- clients/quadtop/hardware-configuration.nix | 22 +++++++++------------- clients/quadtop/nvidia.nix | 19 ------------------- 3 files changed, 10 insertions(+), 33 deletions(-) delete mode 100644 clients/quadtop/nvidia.nix diff --git a/clients/quadtop/gamescope.nix b/clients/quadtop/gamescope.nix index 08e4c12..1ffb883 100644 --- a/clients/quadtop/gamescope.nix +++ b/clients/quadtop/gamescope.nix @@ -3,6 +3,6 @@ "--force-grab-cursor" "-W 1920" "-H 1080" - "-r 120" + "-r 60" ]; } diff --git a/clients/quadtop/hardware-configuration.nix b/clients/quadtop/hardware-configuration.nix index b3e0eb8..c944e9b 100755 --- a/clients/quadtop/hardware-configuration.nix +++ b/clients/quadtop/hardware-configuration.nix @@ -1,18 +1,14 @@ { boot = { - initrd = { - availableKernelModules = [ - "xhci_pci" - "ahci" - "nvme" - "usb_storage" - "sd_mod" - ]; - kernelModules = [ ]; - }; - kernelModules = [ "kvm-intel" ]; - extraModulePackages = [ ]; + initrd.availableKernelModules = [ + "nvme" + "xhci_pci" + ]; + kernelModules = [ "kvm-amd" ]; }; - hardware.cpu.intel.updateMicrocode = true; + hardware = { + amdgpu.initrd.enable = true; + cpu.amd.updateMicrocode = true; + }; } diff --git a/clients/quadtop/nvidia.nix b/clients/quadtop/nvidia.nix deleted file mode 100644 index f308113..0000000 --- a/clients/quadtop/nvidia.nix +++ /dev/null @@ -1,19 +0,0 @@ -{ - services.xserver.videoDrivers = [ "nvidia" ]; - hardware.nvidia = { - prime = { - offload = { - enable = true; - enableOffloadCmd = true; - }; - - intelBusId = "PCI:00:02:0"; - nvidiaBusId = "PCI:01:00:0"; - }; - open = true; - nvidiaSettings = false; - nvidiaPersistenced = false; - dynamicBoost.enable = true; - powerManagement.finegrained = true; - }; -}