Reorganize files
This commit is contained in:
parent
f449490474
commit
58ce7ac394
14 changed files with 2 additions and 2 deletions
17
nix-os/nvidia.nix
Normal file
17
nix-os/nvidia.nix
Normal file
|
@ -0,0 +1,17 @@
|
|||
{ config, lib, pkgs, ...}:
|
||||
|
||||
{
|
||||
hardware.opengl = {
|
||||
enable = true;
|
||||
driSupport = true;
|
||||
driSupport32Bit = true;
|
||||
};
|
||||
services.xserver.videoDrivers = ["nvidia"];
|
||||
hardware.nvidia = {
|
||||
modesetting.enable = true;
|
||||
powerManagement.enable = true;
|
||||
open = false;
|
||||
nvidiaSettings = true;
|
||||
package = config.boot.kernelPackages.nvidiaPackages.stable;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue