mirror of
https://github.com/itme-brain/nixos.git
synced 2026-03-23 16:29:42 -04:00
nvidia driver
This commit is contained in:
parent
ff8f14890d
commit
1de4bdba14
1 changed files with 15 additions and 1 deletions
|
|
@ -30,7 +30,21 @@
|
|||
};
|
||||
|
||||
# GPU
|
||||
hardware.nvidia.open = true;
|
||||
services.xserver.videoDrivers = lib.mkDefault ["nvidia"];
|
||||
|
||||
hardware.opengl = {
|
||||
enable = true;
|
||||
driSupport = true;
|
||||
driSupport32Bit = true;
|
||||
};
|
||||
|
||||
hardware.nvidia = {
|
||||
powerManagement.enable = false;
|
||||
powerManagement.finegrained = false;
|
||||
nvidiaSettings = true;
|
||||
|
||||
package = config.boot.kernelPackages.nvidiaPackages.production;
|
||||
};
|
||||
|
||||
# Virtualisation
|
||||
environment.systemPackages = with pkgs; [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue