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.extraModprobeConfig = ''
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 ];
environment.systemPackages = with pkgs; [
dex
mesa
libnotify
glib
gsettings-desktop-schemas

View file

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