From de070c565c5c34e15250b9c7fb701b4ecce5a431 Mon Sep 17 00:00:00 2001 From: Alex Mickelson Date: Fri, 14 Feb 2025 15:52:36 -0700 Subject: [PATCH] without nvidia --- nix/alex-desktop.nix | 33 ++++++++++----------------------- 1 file changed, 10 insertions(+), 23 deletions(-) diff --git a/nix/alex-desktop.nix b/nix/alex-desktop.nix index 2d541c8..2a69ee1 100644 --- a/nix/alex-desktop.nix +++ b/nix/alex-desktop.nix @@ -146,34 +146,21 @@ # capSysAdmin = true; #}; - hardware.nvidia = { - modesetting.enable = true; - open = false; - nvidiaSettings = true; - package = config.boot.kernelPackages.nvidiaPackages.production; - powerManagement.enable = false; - powerManagement.finegrained = false; - }; - # services.xserver.deviceSection = '' - # Option "TripleBuffer" "on" - # Option "Coolbits" "28" - # ''; - - # services.xserver.screenSection = '' - # Option "metamodes" "nvidia-auto-select +0+0 {ForceCompositionPipeline=On, ForceFullCompositionPipeline=On}" - # Option "AllowIndirectGLXProtocol" "off" - # ''; - # hardware.opengl = { - # enable = true; - # driSupport32Bit = true; + # hardware.nvidia = { + # modesetting.enable = true; + # open = false; + # nvidiaSettings = true; + # package = config.boot.kernelPackages.nvidiaPackages.production; + # powerManagement.enable = false; + # powerManagement.finegrained = false; # }; + # virtualisation.docker.enableNvidia = true; + # hardware.nvidia-container-toolkit.enable = true; + # services.xserver.videoDrivers = [ "nvidia" ]; hardware.graphics = { enable32Bit = true; enable = true; }; - virtualisation.docker.enableNvidia = true; - hardware.nvidia-container-toolkit.enable = true; - services.xserver.videoDrivers = [ "nvidia" ]; fileSystems."/steam-data" = {