From f8c1d199253805dee9ba0332518db5f4466fbb17 Mon Sep 17 00:00:00 2001 From: blake Date: Sun, 5 Oct 2025 19:42:24 -0500 Subject: [PATCH] 8 current 2025-10-05 19:42:22 25.05.20251001.5b5be50 6.12.49 * --- flake.nix | 2 +- modules/system/nvidia.nix | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index dfcd97a..2bcc41c 100644 --- a/flake.nix +++ b/flake.nix @@ -1,6 +1,6 @@ # flake for blakes nixos config # define new devices in outputs -# generation: 7 current 2025-10-05 19:40:33 25.05.20251001.5b5be50 6.12.49 * +# generation: 8 current 2025-10-05 19:42:22 25.05.20251001.5b5be50 6.12.49 * { description = "blakes nix config"; inputs = { diff --git a/modules/system/nvidia.nix b/modules/system/nvidia.nix index 36e9d78..e4fa476 100644 --- a/modules/system/nvidia.nix +++ b/modules/system/nvidia.nix @@ -10,8 +10,9 @@ in config = lib.mkIf cfg.enable { - services.xserver.videoDrivers = [ "nvidia" ]; + hardware.graphics.enable = true; hardware.opengl.driSupport32Bit = true; + services.xserver.videoDrivers = [ "nvidia" ]; # enable nvidia proprietary driver hardware.nvidia = {