add drivers for battery gestion and nvidia gpu

This commit is contained in:
2024-10-16 20:54:07 +02:00
parent 6da0038f5d
commit 20f87b132b
5 changed files with 76 additions and 2 deletions

View File

@ -8,5 +8,18 @@
environment.systemPackages = with pkgs; [
acpi
]
tlp
];
hardware.opengl = {
enable = true;
driSupport32Bit = true;
};
services.xserver.videoDrivers = ["nvidia"];
hardware.nvidia.prime.offload = {
enable = true;
enableOffloadCmd = true;
};
}