2023-08-05 18:06:21 +01:00
|
|
|
{ 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";
|
2023-08-05 18:06:21 +01:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|