Swordsmachine: add gpu disable specialization

This commit is contained in:
wo2wz 2025-10-26 14:22:56 -04:00
parent 46f490caa3
commit 96698fe69d

View file

@ -19,6 +19,10 @@
inputs.nixos-hardware.nixosModules.dell-xps-15-9570-nvidia
];
# boot option to disable the dgpu for power saving
# also the longest one-line option name in this config
specialisation.disable-dgpu.configuration.hardware.nvidiaOptimus.disable = true;
# pin the latest nvidia driver that works because they are so awesome in releasing an update that broke opengl for my 1050ti
hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.mkDriver {
version = "570.144";