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;
# software
flatpak.enable = false;
flatpak.enable = true;
gaming.enable = true;
virtualization = {
docker.enable = true;

View File

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