desktop: add nvidia drivers

This commit is contained in:
2026-06-07 12:01:14 +02:00
parent 5be623fd12
commit 8efd8a30bf
3 changed files with 10 additions and 1 deletions
+2 -1
View File
@@ -50,7 +50,8 @@
system = "x86_64-linux"; system = "x86_64-linux";
unfreePkgs = [ unfreePkgs = [
"hplip" "hplip"
"vivify.vim" "nvidia-x11"
"nvidia-settings"
"cheatsheet.nvim" "cheatsheet.nvim"
]; ];
mkUnfreePredicate = pkg: mkUnfreePredicate = pkg:
+7
View File
@@ -0,0 +1,7 @@
_: {
flake.nixosModules.nvidia = _: {
hardware.graphics.enable = true;
services.xserver.videoDrivers = [ "nvidia" ];
hardware.nvidia.open = true;
};
}
+1
View File
@@ -36,6 +36,7 @@
mullvad mullvad
networking networking
notifications notifications
nvidia
office office
#ollama #ollama
otherUtils otherUtils