steam: add temporary fix for switching generations
This commit is contained in:
parent
429e490bb5
commit
ed0a0412bb
17
flake.lock
17
flake.lock
|
@ -598,6 +598,22 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"nixpkgs-fixed-steam": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1691123104,
|
||||||
|
"narHash": "sha256-5dx7Tj2EdVG0qn3O5CyNEvM8jo+w715CRDSCd5MFueU=",
|
||||||
|
"owner": "lelgenio",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "335f50b1d2b8ea9812042f363242d6aa49e80aea",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "lelgenio",
|
||||||
|
"ref": "test-steam-fix",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"nixpkgs_2": {
|
"nixpkgs_2": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1673796341,
|
"lastModified": 1673796341,
|
||||||
|
@ -691,6 +707,7 @@
|
||||||
"nix-software-center": "nix-software-center",
|
"nix-software-center": "nix-software-center",
|
||||||
"nixos-conf-editor": "nixos-conf-editor",
|
"nixos-conf-editor": "nixos-conf-editor",
|
||||||
"nixpkgs": "nixpkgs_3",
|
"nixpkgs": "nixpkgs_3",
|
||||||
|
"nixpkgs-fixed-steam": "nixpkgs-fixed-steam",
|
||||||
"nur": "nur",
|
"nur": "nur",
|
||||||
"plymouth-themes": "plymouth-themes",
|
"plymouth-themes": "plymouth-themes",
|
||||||
"ranger-icons": "ranger-icons",
|
"ranger-icons": "ranger-icons",
|
||||||
|
|
|
@ -60,6 +60,7 @@
|
||||||
url = "github:lelgenio/wl-crosshair";
|
url = "github:lelgenio/wl-crosshair";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
nixpkgs-fixed-steam.url = "github:lelgenio/nixpkgs/test-steam-fix";
|
||||||
|
|
||||||
# gnome stuff
|
# gnome stuff
|
||||||
nixos-conf-editor.url = "github:vlinkz/nixos-conf-editor";
|
nixos-conf-editor.url = "github:vlinkz/nixos-conf-editor";
|
||||||
|
|
|
@ -1,6 +1,12 @@
|
||||||
{ config, pkgs, inputs, ... }: {
|
{ config, pkgs, inputs, ... }:
|
||||||
|
let
|
||||||
|
pkgs' = import inputs.nixpkgs-fixed-steam {
|
||||||
|
inherit (pkgs) system config;
|
||||||
|
};
|
||||||
|
in
|
||||||
|
{
|
||||||
programs.steam.enable = true;
|
programs.steam.enable = true;
|
||||||
programs.steam.package = pkgs.steam.override {
|
programs.steam.package = pkgs'.steam.override {
|
||||||
extraLibraries = pkgs: with config.hardware.opengl;
|
extraLibraries = pkgs: with config.hardware.opengl;
|
||||||
if pkgs.hostPlatform.is64bit
|
if pkgs.hostPlatform.is64bit
|
||||||
then [ package ] ++ extraPackages
|
then [ package ] ++ extraPackages
|
||||||
|
@ -12,9 +18,6 @@
|
||||||
mangohud
|
mangohud
|
||||||
xdg-user-dirs
|
xdg-user-dirs
|
||||||
];
|
];
|
||||||
extraProfile = ''
|
|
||||||
export GSETTINGS_SCHEMA_DIR="${pkgs.gsettings-desktop-schemas}/share/gsettings-schemas/${pkgs.gsettings-desktop-schemas.name}/glib-2.0/schemas/"
|
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
protontricks
|
protontricks
|
||||||
|
|
Loading…
Reference in a new issue