diff options
| author | Oromis Foxtail <qwertman783@outlook.com> | 2026-04-19 22:43:36 +0200 |
|---|---|---|
| committer | Oromis Foxtail <qwertman783@outlook.com> | 2026-04-19 22:43:36 +0200 |
| commit | dae3c2ca44b4cc0f5b250db1732e7c106470e804 (patch) | |
| tree | 5f808b74f367c361490513609a05570cb5af5bda /hosts/herra/drivers.nix | |
| parent | efd7ae753371ae1aa6dedf090bc0736ee736ad11 (diff) | |
fixed some issues
Diffstat (limited to 'hosts/herra/drivers.nix')
| -rw-r--r-- | hosts/herra/drivers.nix | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/hosts/herra/drivers.nix b/hosts/herra/drivers.nix index 53971a7..e731695 100644 --- a/hosts/herra/drivers.nix +++ b/hosts/herra/drivers.nix @@ -1,4 +1,4 @@ -{...}: { +{pkgs, ...}: { services.xserver.videoDrivers = ["amdgpu"]; # AMD GPU drivers boot.kernel.sysctl."kernel.sched_rt_runtime_us" = -1; # Realtime audio @@ -7,24 +7,22 @@ enable = true; enable32Bit = true; # CRITICAL for Steam/Proton extraPackages = with pkgs; [ - amdvlk rocmPackages.clr.icd # OpenCL ]; extraPackages32 = with pkgs; [ - driversi686Linux.amdvlk ]; }; cpu.intel.updateMicrocode = true; enableRedistributableFirmware = true; - -boot.extraModulePackages = with config.boot.kernelPackages; [ - v4l2loopback -]; +}; +#TODO: FIX +#boot.extraModulePackages = with boot.kernelPackages; [ +# v4l2loopback +#]; boot.kernelModules = [ "v4l2loopback" ]; boot.extraModprobeConfig = '' options v4l2loopback devices=1 video_nr=1 card_label="OBS Virtual Camera" exclusive_caps=1 ''; - }; } |
