21 lines
340 B
Nix
21 lines
340 B
Nix
|
{
|
||
|
config,
|
||
|
lib,
|
||
|
...
|
||
|
}:
|
||
|
let
|
||
|
cfg = config.profiles.gaming;
|
||
|
in
|
||
|
{
|
||
|
config = lib.mkIf cfg.enable {
|
||
|
programs.steam = {
|
||
|
enable = true;
|
||
|
extest.enable = true;
|
||
|
protontricks.enable = true;
|
||
|
dedicatedServer.openFirewall = true;
|
||
|
remotePlay.openFirewall = true;
|
||
|
localNetworkGameTransfers.openFirewall = true;
|
||
|
};
|
||
|
};
|
||
|
}
|