steam: fix bug in steam beta

This commit is contained in:
Leonardo Eugênio 2023-05-06 17:25:06 -03:00
parent 4977cf1628
commit 5034746b55
2 changed files with 22 additions and 5 deletions

View file

@ -65,9 +65,6 @@
patches = old.patches patches = old.patches
++ [ ../patches/sway/fix-hide_cursor-clearing-focus.patch ]; ++ [ ../patches/sway/fix-hide_cursor-clearing-focus.patch ];
}); });
steam = prev.unstable.steam.override {
extraPkgs = pkgs: with pkgs; [ capitaine-cursors bibata-cursors mangohud ];
};
qutebrowser = prev.qutebrowser.overrideAttrs (old: { qutebrowser = prev.qutebrowser.overrideAttrs (old: {
src = prev.fetchFromGitHub { src = prev.fetchFromGitHub {

View file

@ -1,6 +1,26 @@
{ config, pkgs, inputs, ... }: { { config, pkgs, inputs, ... }:
let
upkgs = pkgs.unstable;
in
{
programs.steam.enable = true; programs.steam.enable = true;
environment.systemPackages = with pkgs; [ programs.steam.package = upkgs.steam.override {
extraLibraries = pkgs: with config.hardware.opengl;
if pkgs.hostPlatform.is64bit
then [ package ] ++ extraPackages
else [ package32 ] ++ extraPackages32;
extraPkgs = pkgs: with pkgs; [
capitaine-cursors
bibata-cursors
mangohud
xdg-user-dirs
];
extraProfile = ''
export GSETTINGS_SCHEMA_DIR="${upkgs.gsettings-desktop-schemas}/share/gsettings-schemas/${upkgs.gsettings-desktop-schemas.name}/glib-2.0/schemas/"
'';
};
environment.systemPackages = with upkgs; [
protontricks protontricks
]; ];
} }