Fix nvidia

This commit is contained in:
2026-07-07 18:42:38 +01:00
parent c7a28de886
commit 2fb5860706
2 changed files with 2 additions and 12 deletions
+1 -12
View File
@@ -1,18 +1,7 @@
{ config, ... }:
{
nix.settings = {
substituters = [ "https://cache.nixos-cuda.org" ];
trusted-public-keys = [
"cache.nixos-cuda.org:74DUi4Ye579gUqzH4ziL9IyiJBlDpMRn9MBN8oNan9M="
];
};
hardware.graphics = {
enable = true;
};
services.xserver.videoDrivers = ["nvidia"];
hardware.graphics.enable = true;
hardware.nvidia = {
modesetting.enable = true;