From fbaa00aa732520ffe5812488e83adb9cee14501d Mon Sep 17 00:00:00 2001 From: Doloro1978 Date: Sun, 12 Oct 2025 18:50:41 +0100 Subject: [PATCH] fix(gamescope): made the gamescope overlay actually use the old nixpkg --- nix/overlays.nix | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/nix/overlays.nix b/nix/overlays.nix index 18cedce..e4119ca 100644 --- a/nix/overlays.nix +++ b/nix/overlays.nix @@ -2,6 +2,7 @@ pkgs, lib, inputs, + system, ... }: let @@ -31,15 +32,21 @@ let }); } ); + pkgs_gamescope = import inputs.nixpkgs-gamescope { + inherit system; + config = { + allow_unfree = true; + }; + }; gamescope_overlay = self: super: { gamescope = - super.callPackage "${inputs.nixpkgs-gamescope}/pkgs/by-name/ga/gamescope/package.nix" + pkgs_gamescope.callPackage "${inputs.nixpkgs-gamescope}/pkgs/by-name/ga/gamescope/package.nix" { }; }; in { nixpkgs.overlays = [ - arrpc_overlay + # arrpc_overlay # idk i flake update and it doesnt wanna gamescope_overlay youtube-music ];