nixos/system/hardware.nix
2024-04-21 06:49:09 +02:00

21 lines
455 B
Nix

{ config, pkgs, ... }:
{
hardware = {
opengl = {
enable = true;
driSupport = true;
driSupport32Bit = true;
};
ckb-next.enable = true;
nvidia = {
modesetting.enable = true;
powerManagement.enable = false;
powerManagement.finegrained = false;
open = false;
nvidiaSettings = true;
package = config.boot.kernelPackages.nvidiaPackages.stable;
};
pulseaudio.enable = false;
};
}