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

View file

@ -7,5 +7,6 @@
./nginx.nix
./openssh.nix
./security.nix
./steam.nix
];
}

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;
}