steam: move to common config
This commit is contained in:
parent
4bb4780186
commit
5290f25062
5 changed files with 13 additions and 24 deletions
|
@ -7,5 +7,6 @@
|
|||
./nginx.nix
|
||||
./openssh.nix
|
||||
./security.nix
|
||||
./steam.nix
|
||||
];
|
||||
}
|
10
common/steam.nix
Normal file
10
common/steam.nix
Normal file
|
@ -0,0 +1,10 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
programs.steam = {
|
||||
remotePlay.openFirewall = true;
|
||||
dedicatedServer.openFirewall = true;
|
||||
};
|
||||
|
||||
services.joycond.enable = config.programs.steam.enable;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue