Merge pull request #228571 from nrdxp/steam-gamescope-fix

Resolve Issues with Steam Gamescope module
This commit is contained in:
Timothy DeHerrera 2023-04-27 12:16:54 -06:00 committed by GitHub
commit ec55889a69
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -84,6 +84,7 @@ in {
gamescopeSession = mkOption {
description = mdDoc "Run a GameScope driven Steam session from your display-manager";
default = {};
type = types.submodule {
options = {
enable = mkEnableOption (mdDoc "GameScope Session");
@ -135,7 +136,7 @@ in {
environment.systemPackages = [
cfg.package
cfg.package.run
];
] ++ lib.optional cfg.gamescopeSession.enable steam-gamescope;
networking.firewall = lib.mkMerge [
(mkIf cfg.remotePlay.openFirewall {