Move some driver configs to Vanguard specifically
This commit is contained in:
parent
d3a9bf0f3d
commit
8a50023423
|
@ -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 ];
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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 = {
|
||||||
|
|
Loading…
Reference in a new issue