more sensible config and nvidia option didn't really work like that

This commit is contained in:
twoneis 2024-06-10 00:05:15 +02:00
parent 45a42eac96
commit ac23dd9251
9 changed files with 21 additions and 25 deletions

View file

@ -1,4 +1,4 @@
{ pkgs, ... }: {
{ config, pkgs, ... }: {
imports = [
./options.nix
];
@ -50,11 +50,22 @@
};
};
services = {
xserver.videoDrivers = ["nvidia"];
};
hardware = {
enableRedistributableFirmware = true;
enableAllFirmware = true;
cpu.amd.updateMicrocode = true;
nvidia = {
modesetting.enable = true;
nvidiaSettings = false;
package = config.boot.kernelPackages.nvidiaPackages.vulkan_beta;
};
opengl = {
enable = true;
driSupport = true;