{
config,
lib,
...
}: let
cfg = config.roles.gaming;
in {
config = lib.mkIf cfg.steam.enable {
arta.unfree.allow = [
"steam-run"
"steam-original"
"steam"
];
programs.steam = {
enable = true;
remotePlay.openFirewall = false;
dedicatedServer.openFirewall = false;
};
hardware.steam-hardware.enable = true;
};
}