2024-06-24 07:31:02 +01:00
|
|
|
{config, ...}: {
|
2024-05-21 19:24:24 +01:00
|
|
|
imports = [./desktop.nix];
|
2024-03-23 06:49:46 +00:00
|
|
|
boot = {
|
2024-06-26 05:53:49 +01:00
|
|
|
initrd.kernelModules = ["amdgpu"];
|
2024-03-23 06:49:46 +00:00
|
|
|
extraModulePackages = with config.boot.kernelPackages; [v4l2loopback];
|
|
|
|
extraModprobeConfig = ''
|
|
|
|
options v4l2loopback devices=1 video_nr=1 card_label="OBS Cam" exclusive_caps=1
|
|
|
|
'';
|
|
|
|
};
|
2024-05-21 19:24:24 +01:00
|
|
|
hardware = {
|
|
|
|
opengl = {
|
|
|
|
driSupport = true;
|
|
|
|
driSupport32Bit = true;
|
|
|
|
};
|
|
|
|
steam-hardware.enable = true;
|
2024-03-23 06:49:46 +00:00
|
|
|
};
|
2024-06-25 10:21:50 +01:00
|
|
|
|
2024-05-27 19:18:30 +01:00
|
|
|
programs.steam = {
|
|
|
|
enable = true;
|
|
|
|
remotePlay.openFirewall = true;
|
2024-05-21 19:24:24 +01:00
|
|
|
};
|
2024-01-12 22:06:16 +00:00
|
|
|
}
|