add steam
This commit is contained in:
parent
2d1cc02293
commit
96c1b1a504
2 changed files with 59 additions and 0 deletions
|
|
@ -58,6 +58,7 @@
|
|||
"pass"
|
||||
"zk"
|
||||
"gui-programs"
|
||||
"steam"
|
||||
];
|
||||
|
||||
laptop.features = [
|
||||
|
|
|
|||
58
modules/features/desktop/steam.nix
Normal file
58
modules/features/desktop/steam.nix
Normal file
|
|
@ -0,0 +1,58 @@
|
|||
{
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
config.dendritic.features.steam = {
|
||||
nixosModules = [
|
||||
(
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
hardware.graphics.enable32Bit = true;
|
||||
|
||||
programs.steam = {
|
||||
enable = true;
|
||||
remotePlay.openFirewall = true;
|
||||
dedicatedServer.openFirewall = true;
|
||||
|
||||
gamescopeSession = {
|
||||
enable = true;
|
||||
args = [
|
||||
"-F fsr"
|
||||
"-f"
|
||||
];
|
||||
};
|
||||
|
||||
package = pkgs.steam.override {
|
||||
extraPkgs =
|
||||
pkgs: with pkgs; [
|
||||
xorg.libXcursor
|
||||
xorg.libXi
|
||||
xorg.libXinerama
|
||||
xorg.libXScrnSaver
|
||||
libpng
|
||||
libpulseaudio
|
||||
libvorbis
|
||||
stdenv.cc.cc.lib
|
||||
libkrb5
|
||||
keyutils
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
environment.sessionVariables = {
|
||||
# Proton GE flag for FSR
|
||||
WINE_FULLSCREEN_FSR = "1";
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
protonup-ng
|
||||
steam-devices-udev-rules
|
||||
scanmem
|
||||
mangohud
|
||||
];
|
||||
}
|
||||
)
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue