2024-04-07 22:16:33 -04:00
|
|
|
{
|
|
|
|
pkgs,
|
|
|
|
lib,
|
|
|
|
config,
|
|
|
|
...
|
|
|
|
}: {
|
2024-06-26 22:13:02 -04:00
|
|
|
config = lib.mkIf config.ar.apps.steam.enable {
|
2024-03-28 16:13:46 -04:00
|
|
|
hardware.steam-hardware.enable = true;
|
2024-06-15 20:21:34 -04:00
|
|
|
programs = {
|
2024-06-26 22:13:02 -04:00
|
|
|
gamescope.enable = config.ar.desktop.steam.enable;
|
2024-06-15 23:19:33 -04:00
|
|
|
|
2024-06-15 20:21:34 -04:00
|
|
|
steam = {
|
|
|
|
enable = true;
|
2024-06-15 23:19:33 -04:00
|
|
|
dedicatedServer.openFirewall = true;
|
2024-06-19 21:51:05 -04:00
|
|
|
extraCompatPackages = with pkgs; [
|
|
|
|
proton-ge-bin
|
|
|
|
];
|
2024-06-26 22:13:02 -04:00
|
|
|
gamescopeSession.enable = config.ar.desktop.steam.enable;
|
2024-06-15 23:19:33 -04:00
|
|
|
localNetworkGameTransfers.openFirewall = true;
|
|
|
|
remotePlay.openFirewall = true;
|
2024-06-15 20:21:34 -04:00
|
|
|
};
|
2024-03-28 16:13:46 -04:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|