add steam

This commit is contained in:
gwg313 2026-04-20 18:05:29 -04:00
parent 2d1cc02293
commit 96c1b1a504
Signed by: gwg313
GPG key ID: 60FF63B4826B7400
2 changed files with 59 additions and 0 deletions

View file

@ -58,6 +58,7 @@
"pass"
"zk"
"gui-programs"
"steam"
];
laptop.features = [

View 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
];
}
)
];
};
}