nixos/hosts/gamescope.nix

27 lines
578 B
Nix
Raw Normal View History

{ config, lib, pkgs, ... }:
let
2023-08-05 18:22:16 +01:00
sessionCommand = " gamescope -w 1920 -h 1080 -W 3840 -H 2160 -U -f -g -e -- steam -gamepadui";
in
{
imports = [ ./desktop.nix ];
services = {
blueman.enable = true;
greetd.settings = {
default_session.command = sessionCommand;
initial_session.command = sessionCommand;
};
};
programs = {
xwayland.enable = true;
gamescope = {
enable = true;
capSysNice = true;
};
steam = {
enable = true;
remotePlay.openFirewall = true;
gamescopeSession.enable = true;
};
};
}