nixos/system/Vanguard.nix

24 lines
529 B
Nix
Raw Normal View History

2024-07-30 15:06:34 +01:00
{ config, ... }:
{
imports = [ ./desktop/plasma.nix ];
boot = {
2024-07-30 15:06:34 +01:00
initrd.kernelModules = [ "amdgpu" ];
extraModulePackages = with config.boot.kernelPackages; [ v4l2loopback ];
extraModprobeConfig = ''
options v4l2loopback devices=1 video_nr=1 card_label="OBS Cam" exclusive_caps=1
'';
};
hardware = {
opengl = {
driSupport = true;
driSupport32Bit = true;
};
steam-hardware.enable = true;
};
programs.steam = {
enable = true;
remotePlay.openFirewall = true;
};
}