2024-04-07 22:16:33 -04:00
|
|
|
{
|
|
|
|
pkgs,
|
|
|
|
lib,
|
|
|
|
config,
|
|
|
|
...
|
|
|
|
}: {
|
2024-04-17 22:39:00 -04:00
|
|
|
config = lib.mkIf config.alyraffauf.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-15 23:19:33 -04:00
|
|
|
gamescope.enable = config.alyraffauf.desktop.steam.enable;
|
|
|
|
|
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-15 23:19:33 -04:00
|
|
|
gamescopeSession.enable = config.alyraffauf.desktop.steam.enable;
|
|
|
|
localNetworkGameTransfers.openFirewall = true;
|
|
|
|
remotePlay.openFirewall = true;
|
2024-06-15 20:21:34 -04:00
|
|
|
};
|
2024-03-28 16:13:46 -04:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|