mirror of
https://github.com/zoriya/flake.git
synced 2025-12-06 06:36:19 +00:00
29 lines
598 B
Nix
29 lines
598 B
Nix
{
|
|
pkgs,
|
|
lib,
|
|
...
|
|
}: {
|
|
environment.systemPackages = with pkgs;
|
|
lib.optionals pkgs.stdenv.isx86_64 [
|
|
wineWowPackages.stable
|
|
wineWowPackages.waylandFull
|
|
winetricks
|
|
];
|
|
programs.gamescope = {
|
|
enable = true;
|
|
capSysNice = true;
|
|
args = [
|
|
"--steam"
|
|
"--hdr-enabled"
|
|
"--adaptive-sync"
|
|
"--fullscreen"
|
|
"--expose-wayland"
|
|
];
|
|
};
|
|
hardware.steam-hardware.enable = true;
|
|
services.flatpak.enable = true;
|
|
|
|
# i lost way too much time understanding why my local server/app can't be reached
|
|
networking.firewall.enable = false;
|
|
}
|