nixos/system/steam.nix
2024-06-07 01:02:48 +02:00

14 lines
232 B
Nix

{
lib,
config,
...
}: {
options.gaming.enable = lib.mkEnableOption "Enable gaming";
config = lib.mkIf config.gaming.enable {
programs.steam = {
enable = true;
remotePlay.openFirewall = true;
};
};
}