Fix waybar Nvidia module

This commit is contained in:
Bun 2025-05-12 11:19:54 -04:00
parent f50b90ba94
commit a791dd0583
5 changed files with 20 additions and 10 deletions

View file

@ -1,4 +1,4 @@
{ config, lib, pkgs, ... }:
{ config, lib, pkgsUnstable, ... }:
let
commonKernelParams = [
# VM/GPU passthrough
@ -13,7 +13,7 @@ let
in {
boot = {
# Latest kernel and IOMMU isolation
kernelPackages = pkgs.linuxPackages_latest;
kernelPackages = pkgsUnstable.linuxPackages_latest;
kernelParams = commonKernelParams ++ [ "vfio-pci.ids=10de:1f82,10de:10fa" ];
# Load into GPU before video driver