mirror of
https://github.com/divnix/digga.git
synced 2024-11-23 20:22:04 +03:00
games: add pcsx2 and steam-hardware
This commit is contained in:
parent
1efc3eab51
commit
ea1d06c017
11
overlays/pcsx2.nix
Normal file
11
overlays/pcsx2.nix
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
final: prev: {
|
||||||
|
pcsx2 = prev.pcsx2.overrideAttrs (o: rec {
|
||||||
|
version = "1.6.0";
|
||||||
|
src = prev.fetchFromGitHub {
|
||||||
|
owner = "PCSX2";
|
||||||
|
repo = "pcsx2";
|
||||||
|
rev = "v${version}";
|
||||||
|
hash = "sha256-iqNOLhNqj+ja0YIyVi/6gZXBYGN+eu02LUiUIwacSBQ=";
|
||||||
|
};
|
||||||
|
});
|
||||||
|
}
|
@ -1,6 +1,12 @@
|
|||||||
{ pkgs, ... }: {
|
{ unstablePkgs, ... }: {
|
||||||
imports = [ ../graphical ./udev.nix ];
|
imports = [ ../graphical ./udev.nix ];
|
||||||
environment.systemPackages = with pkgs; [ retroarchBare steam steam-run ];
|
environment.systemPackages = with unstablePkgs; [
|
||||||
|
retroarchBare
|
||||||
|
steam
|
||||||
|
steam-run
|
||||||
|
pcsx2
|
||||||
|
qjoypad
|
||||||
|
];
|
||||||
|
|
||||||
# fps games on laptop need this
|
# fps games on laptop need this
|
||||||
services.xserver.libinput.disableWhileTyping = false;
|
services.xserver.libinput.disableWhileTyping = false;
|
||||||
@ -9,6 +15,8 @@
|
|||||||
hardware.opengl.driSupport32Bit = true;
|
hardware.opengl.driSupport32Bit = true;
|
||||||
hardware.pulseaudio.support32Bit = true;
|
hardware.pulseaudio.support32Bit = true;
|
||||||
|
|
||||||
|
hardware.steam-hardware.enable = true;
|
||||||
|
|
||||||
# better for steam proton games
|
# better for steam proton games
|
||||||
systemd.extraConfig = "DefaultLimitNOFILE=1048576";
|
systemd.extraConfig = "DefaultLimitNOFILE=1048576";
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user