nixcfg/nixosModules/apps/steam/default.nix

25 lines
576 B
Nix
Raw Normal View History

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