mirror of
https://github.com/youwen5/liminalOS.git
synced 2025-06-20 05:59:51 -07:00
refactor: engage super ultra abstraction for multi-architecture
temp temp
This commit is contained in:
parent
cde45f87fd
commit
098cbdd9f1
26 changed files with 356 additions and 332 deletions
33
modules/nixos/gaming/default.nix
Executable file
33
modules/nixos/gaming/default.nix
Executable file
|
@ -0,0 +1,33 @@
|
|||
{
|
||||
programs.steam = {
|
||||
enable = true;
|
||||
remotePlay.openFirewall = true;
|
||||
dedicatedServer.openFirewall = true;
|
||||
localNetworkGameTransfers.openFirewall = true;
|
||||
gamescopeSession.enable = true;
|
||||
};
|
||||
|
||||
programs.gamescope.enable = true;
|
||||
|
||||
nixpkgs.config.packageOverrides = pkgs: {
|
||||
steam = pkgs.steam.override {
|
||||
extraPkgs = pkgs:
|
||||
with pkgs; [
|
||||
xorg.libXcursor
|
||||
xorg.libXi
|
||||
xorg.libXinerama
|
||||
xorg.libXScrnSaver
|
||||
libpng
|
||||
libpulseaudio
|
||||
libvorbis
|
||||
stdenv.cc.cc.lib
|
||||
libkrb5
|
||||
(writeShellScriptBin "launch-gamescope" ''
|
||||
(sleep 1; pgrep gamescope| xargs renice -n -11 -p)&
|
||||
exec gamescope "$@"
|
||||
'')
|
||||
keyutils
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue