mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 11:43:55 -05:00
22 lines
489 B
Nix
22 lines
489 B
Nix
{
|
|
pkgs,
|
|
lib,
|
|
config,
|
|
...
|
|
}: {
|
|
config = lib.mkIf config.ar.apps.steam.enable {
|
|
programs = {
|
|
gamescope.enable = config.ar.desktop.steam.enable;
|
|
|
|
steam = {
|
|
enable = true;
|
|
dedicatedServer.openFirewall = true;
|
|
extraCompatPackages = with pkgs; [proton-ge-bin];
|
|
gamescopeSession.enable = config.ar.desktop.steam.enable;
|
|
localNetworkGameTransfers.openFirewall = true;
|
|
remotePlay.openFirewall = true;
|
|
};
|
|
};
|
|
};
|
|
}
|