Move some driver configs to Vanguard specifically

This commit is contained in:
Evie Litherland-Smith 2024-01-20 08:14:31 +00:00
parent d3a9bf0f3d
commit 8a50023423
3 changed files with 6 additions and 8 deletions

View file

@ -1,6 +1,9 @@
{ config, ... }: { { config, pkgs, ... }: {
boot.extraModulePackages = with config.boot.kernelPackages; [ v4l2loopback ]; boot.extraModulePackages = with config.boot.kernelPackages; [ v4l2loopback ];
boot.extraModprobeConfig = '' boot.extraModprobeConfig = ''
options v4l2loopback devices=1 video_nr=1 card_label="OBS Cam" exclusive_caps=1 options v4l2loopback devices=1 video_nr=1 card_label="OBS Cam" exclusive_caps=1
''; '';
hardware.opengl.driSupport32Bit = true;
hardware.opengl.extraPackages = with pkgs; [ amdvlk rocmPackages.clr.icd ];
hardware.opengl.extraPackages32 = [ pkgs.driversi686Linux.amdvlk ];
} }

View file

@ -2,7 +2,6 @@
imports = [ ./default.nix ]; imports = [ ./default.nix ];
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
dex dex
mesa
libnotify libnotify
glib glib
gsettings-desktop-schemas gsettings-desktop-schemas

View file

@ -1,9 +1,5 @@
{ pkgs, ... }: { { ... }: {
environment.systemPackages = with pkgs; [ mesa ]; hardware.steam-hardware.enable = true;
hardware = {
opengl.driSupport32Bit = true;
steam-hardware.enable = true;
};
programs = { programs = {
xwayland.enable = true; xwayland.enable = true;
gamescope = { gamescope = {