Improve gaming

This commit is contained in:
Victor Mignot 2025-02-28 13:41:57 +01:00
parent e3a7885537
commit 4a76a04795
Signed by: dala
SSH key fingerprint: SHA256:+3O9MhlDc2tJL0n+E+Myr7nL+74DP9AXdIXHmIqZTkY

View file

@ -28,11 +28,15 @@ in
wrapperFeatures.gtk = true;
};
programs.steam = {
enable = anySteamUser;
programs.steam = mkIf anySteamUser {
enable = true;
remotePlay.openFirewall = true;
extraCompatPackages = with pkgs; [
proton-ge-bin
];
};
hardware.steam-hardware.enable = anySteamUser;
programs.gamemode.enable = anySteamUser;
xdg.portal = mkIf anySwayUser {
enable = true;