obsidian: fix nvidia-gpu causing issues

This commit is contained in:
Christoph Hollizeck 2024-10-12 00:31:33 +02:00
parent 8a1b154cfe
commit 6879fd8e82
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 1763BB530F50279E
2 changed files with 18 additions and 2 deletions

View file

@ -15,11 +15,12 @@ in
};
config = mkIf cfg.enable {
environment.systemPackages = [ pkgs.nvidia-vaapi-driver ];
hardware.graphics = {
enable = true;
enable32Bit = true;
extraPackages = [
pkgs.nvidia-vaapi-driver
];
};
hardware.nvidia = {