steam: fix bug in steam beta
This commit is contained in:
parent
4977cf1628
commit
5034746b55
|
@ -65,9 +65,6 @@
|
|||
patches = old.patches
|
||||
++ [ ../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: {
|
||||
src = prev.fetchFromGitHub {
|
||||
|
|
|
@ -1,6 +1,26 @@
|
|||
{ config, pkgs, inputs, ... }: {
|
||||
{ config, pkgs, inputs, ... }:
|
||||
let
|
||||
upkgs = pkgs.unstable;
|
||||
in
|
||||
{
|
||||
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
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue