diff --git a/nixos/modules/programs/steam.nix b/nixos/modules/programs/steam.nix index 28985b8db17c..c63b31bde11f 100644 --- a/nixos/modules/programs/steam.nix +++ b/nixos/modules/programs/steam.nix @@ -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 {