1
1
Fork 1
mirror of https://github.com/oddlama/nix-config.git synced 2025-10-11 07:10:39 +02:00

feat: back to xorg for gaming 😞

This commit is contained in:
oddlama 2023-09-13 17:28:23 +02:00
parent bbcf39a3ae
commit 05b626f912
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
7 changed files with 226 additions and 27 deletions

View file

@ -1,12 +1,17 @@
{pkgs, ...}: {
{
lib,
pkgs,
...
}: {
boot.blacklistedKernelModules = ["nouveau"];
services.xserver.videoDrivers = lib.mkForce ["nvidia"];
hardware = {
nvidia = {
modesetting.enable = true;
nvidiaPersistenced = true;
nvidiaSettings = true;
open = false;
open = true;
powerManagement.enable = true;
};
opengl = {
@ -14,6 +19,7 @@
driSupport = true;
driSupport32Bit = true;
extraPackages = with pkgs; [
vaapiVdpau
nvidia-vaapi-driver
];
};