Added steam config
This commit is contained in:
parent
a78a60abf8
commit
fbbd42860e
3 changed files with 56 additions and 14 deletions
22
modules/apps/steam/default.nix
Normal file
22
modules/apps/steam/default.nix
Normal file
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
options,
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
with lib; let
|
||||
cfg = config.aa.apps.steam;
|
||||
in {
|
||||
options.aa.apps.steam = with types; {
|
||||
enable = mkEnableOption "steam";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
programs.steam = {
|
||||
enable = true;
|
||||
remotePlay.openFirewall = true;
|
||||
dedicatedServer.openFirewall = true;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue