From 023be90378b874612b1b4bdaa8ab09caf8025f4a Mon Sep 17 00:00:00 2001 From: Magic_RB Date: Thu, 27 Jul 2023 21:00:44 +0200 Subject: [PATCH] Add `gamescope`, `mangohud` globally to common steam config Signed-off-by: Magic_RB --- nixos/common/steam.nix | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/nixos/common/steam.nix b/nixos/common/steam.nix index 01def51..f34dcc4 100644 --- a/nixos/common/steam.nix +++ b/nixos/common/steam.nix @@ -2,17 +2,15 @@ { programs.gamemode.enable = true; - environment.systemPackages = [ + environment.systemPackages = with pkgs; [ + gamescope + mangohud ]; programs.steam = { enable = true; remotePlay.openFirewall = true; package = pkgs.steam-small.override { - extraPkgs = p: with p; [ - p.gamescope - p.mangohud - ]; extraLibraries = p: with p; [ p.libkrb5 p.keyutils