feat: add steam
This commit is contained in:
parent
be0f0cb73f
commit
6fe34cb3b9
2 changed files with 48 additions and 0 deletions
47
common/gui/steam.nix
Normal file
47
common/gui/steam.nix
Normal file
|
|
@ -0,0 +1,47 @@
|
||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
hardware.opengl.driSupport32Bit = 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
|
||||||
|
keyutils
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
programs.steam = {
|
||||||
|
enable = true;
|
||||||
|
remotePlay.openFirewall = true;
|
||||||
|
gamescopeSession = {
|
||||||
|
enable = true;
|
||||||
|
args = [
|
||||||
|
"-F fsr"
|
||||||
|
"-f"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
environment.sessionVariables = {
|
||||||
|
# Proton GE flag
|
||||||
|
WINE_FULLSCREEN_FSR = "1";
|
||||||
|
};
|
||||||
|
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
protonup
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|
@ -21,6 +21,7 @@
|
||||||
../../common/nixos/ssh_client.nix
|
../../common/nixos/ssh_client.nix
|
||||||
../../common/nixos/ssh_guard.nix
|
../../common/nixos/ssh_guard.nix
|
||||||
../../common/gui/hyprland.nix
|
../../common/gui/hyprland.nix
|
||||||
|
../../common/gui/steam.nix
|
||||||
../../common/gui/thunar.nix
|
../../common/gui/thunar.nix
|
||||||
../../common/style/stylix.nix
|
../../common/style/stylix.nix
|
||||||
../../common/virtualization/podman.nix
|
../../common/virtualization/podman.nix
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue