From d45bf877c45cb803f03bfb0bd460e405ab4dd4f4 Mon Sep 17 00:00:00 2001 From: blake Date: Sun, 5 Oct 2025 21:56:36 -0500 Subject: [PATCH] 19 current 2025-10-05 21:56:34 25.05.20251001.5b5be50 6.12.49 * --- flake.nix | 2 +- hosts/snowbelle/configuration.nix | 1 + modules/system/nvidia.nix | 7 +++++-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/flake.nix b/flake.nix index 4c1a35a..2110d65 100644 --- a/flake.nix +++ b/flake.nix @@ -1,6 +1,6 @@ # flake for blakes nixos config # define new devices in outputs -# generation: 18 current 2025-10-05 21:47:39 25.05.20251001.5b5be50 6.12.49 * +# generation: 19 current 2025-10-05 21:56:34 25.05.20251001.5b5be50 6.12.49 * { description = "blakes nix config"; inputs = { diff --git a/hosts/snowbelle/configuration.nix b/hosts/snowbelle/configuration.nix index eca5837..95100c9 100644 --- a/hosts/snowbelle/configuration.nix +++ b/hosts/snowbelle/configuration.nix @@ -57,6 +57,7 @@ neofetch btop age + nvidia-container-toolkit ]; hardware.bluetooth = { diff --git a/modules/system/nvidia.nix b/modules/system/nvidia.nix index 6b474cd..7bdc4d1 100644 --- a/modules/system/nvidia.nix +++ b/modules/system/nvidia.nix @@ -10,10 +10,13 @@ in config = lib.mkIf cfg.enable { -# hardware.graphics.enable = true; - hardware.opengl.driSupport32Bit = true; services.xserver.videoDrivers = [ "nvidia" ]; + hardware.opengl = { + enable = true; + driSupport32Bit = true; + }; + # enable nvidia proprietary driver hardware.nvidia = { modesetting.enable = true; # required