mirror of
https://github.com/tomasriveral/nixos.git
synced 2026-08-12 10:30:44 +02:00
desktop: add nvidia drivers
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
@@ -0,0 +1,7 @@
|
|||||||
|
_: {
|
||||||
|
flake.nixosModules.nvidia = _: {
|
||||||
|
hardware.graphics.enable = true;
|
||||||
|
services.xserver.videoDrivers = [ "nvidia" ];
|
||||||
|
hardware.nvidia.open = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -36,6 +36,7 @@
|
|||||||
mullvad
|
mullvad
|
||||||
networking
|
networking
|
||||||
notifications
|
notifications
|
||||||
|
nvidia
|
||||||
office
|
office
|
||||||
#ollama
|
#ollama
|
||||||
otherUtils
|
otherUtils
|
||||||
|
|||||||
Reference in New Issue
Block a user