some laptop steam experiments

This commit is contained in:
Thilo Billerbeck 2024-03-20 02:22:02 +01:00
parent 1cbab37a97
commit fba864d9ae

View file

@ -29,7 +29,6 @@
xserver = {
enable = true;
displayManager.sddm.enable = true;
displayManager.defaultSession = "plasma";
xkb = {
variant = "";
layout = "us";
@ -46,6 +45,26 @@
programs.kdeconnect.enable = true;
programs.gamescope = {
enable = true;
capSysNice = true;
};
programs.steam.gamescopeSession = {
enable = true;
env = {
STEAM_GAMESCOPE_VRR_SUPPORTED = "1";
SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS = "0";
};
args = [
"-f"
"-F fsr"
"--rt"
"--adaptive-sync"
"-O HDMI-A-1"
];
};
environment.systemPackages = with pkgs; [ brlaser brgenml1lpr ];
nixpkgs.config.permittedInsecurePackages = [