steam: move to common config

This commit is contained in:
Katherina Walshe-Grey 2024-09-06 02:50:40 +01:00
parent 4bb4780186
commit 5290f25062
5 changed files with 13 additions and 24 deletions

10
common/steam.nix Normal file
View file

@ -0,0 +1,10 @@
{ config, lib, pkgs, ... }:
{
programs.steam = {
remotePlay.openFirewall = true;
dedicatedServer.openFirewall = true;
};
services.joycond.enable = config.programs.steam.enable;
}