some gaming fixes

This commit is contained in:
Emmet
2025-03-28 08:15:01 -05:00
parent 63bac87b76
commit 20b3ebac4b
2 changed files with 8 additions and 12 deletions

View File

@@ -14,7 +14,7 @@
printing.enable = true; printing.enable = true;
# software # software
flatpak.enable = false; flatpak.enable = true;
gaming.enable = true; gaming.enable = true;
virtualization = { virtualization = {
docker.enable = true; docker.enable = true;

View File

@@ -75,28 +75,22 @@ in {
#SDL_VIDEODRIVER = "x11"; #SDL_VIDEODRIVER = "x11";
}; };
args = [ args = [
"--xwayland-count 2" "--xwayland-count 1"
"--expose-wayland" #"--expose-wayland"
"-e" # Enable steam integration "-e" # Enable steam integration
"--steam"
"--adaptive-sync" "--adaptive-sync"
"--hdr-enabled" "--hdr-enabled"
"--hdr-itm-enable" "--hdr-itm-enable"
# External monitor # External monitor
"--fullscreen"
"--prefer-output eDP-1" "--prefer-output eDP-1"
"--output-width 1920" "--output-width 1920"
"--output-height 1080" "--output-height 1080"
# "-r 75" "--nested-width 1920"
"--nested-height 1080"
# Laptop display
# "--prefer-output eDP-1"
# "--output-width 2560"
# "--output-height 1600"
# "-r 120"
"--prefer-vk-device 1002:1638" # lspci -nn | grep VGA "--prefer-vk-device 1002:1638" # lspci -nn | grep VGA
]; ];
}; };
@@ -141,5 +135,7 @@ in {
"*/1 * * * * steamgrab" "*/1 * * * * steamgrab"
]; ];
}; };
networking.firewall.allowedTCPPorts = [ 24872 ];
networking.firewall.allowedUDPPorts = [ 24872 ];
}; };
} }