scripts(steam): remove RADV specification we dont use amdvlk, also disable dither

This commit is contained in:
Alexandre Cavalheiro 2024-04-26 07:49:28 -03:00
parent ba84892af3
commit 71648d1b3d
Signed by: wizardlink
GPG key ID: A5767B54367CFBDF
3 changed files with 28 additions and 4 deletions

View file

@ -1,8 +1,10 @@
#!/bin/sh #!/bin/sh
export MANGOHUD=1 export MANGOHUD=1
# https://docs.mesa3d.org/envvars.html # https://docs.mesa3d.org/envvars.html
export AMD_VULKAN_ICD="RADV" export MESA_NO_DITHER=1 # Disables dither
export MESA_BACK_BUFFER=pixmap # For X only
export DXVK_ASYNC=1 export DXVK_ASYNC=1

View file

@ -1,6 +1,9 @@
#!/bin/sh #!/bin/sh
# https://docs.mesa3d.org/envvars.html export MANGOHUD=1
export AMD_VULKAN_ICD="RADV"
mangohud gamemoderun "$@" # https://docs.mesa3d.org/envvars.html
export MESA_NO_DITHER=1 # Disables dither
export MESA_BACK_BUFFER=pixmap # For X only
gamemoderun "$@"

19
services/archi.nix Normal file
View file

@ -0,0 +1,19 @@
{ ... }:
{
services.archisteamfarm = {
enable = true;
web-ui.enable = true;
# bots.wizardlink = {
# enabled = true;
# passwordFile = /var/lib/asf/bot_info/wizardlink.password;
# username = builtins.readFile /var/lib/asf/bot_info/wizardlink.username;
#
# settings = {
# CustomGamePlayedWhileFarming = "In the fields";
# CustomGamePlayedWhileIdle = "Out from the fields";
# };
# };
};
}