nixcfg/nixosModules/apps/steam/default.nix
2024-06-19 21:51:05 -04:00

25 lines
576 B
Nix

{
pkgs,
lib,
config,
...
}: {
config = lib.mkIf config.alyraffauf.apps.steam.enable {
hardware.steam-hardware.enable = true;
programs = {
gamescope.enable = config.alyraffauf.desktop.steam.enable;
steam = {
enable = true;
dedicatedServer.openFirewall = true;
extraCompatPackages = with pkgs; [
proton-ge-bin
];
gamescopeSession.enable = config.alyraffauf.desktop.steam.enable;
localNetworkGameTransfers.openFirewall = true;
remotePlay.openFirewall = true;
};
};
};
}