always run steam in gamescope
This commit is contained in:
parent
364297eb86
commit
a1806f648f
4 changed files with 33 additions and 12 deletions
7
clients/quadraticpc/gamescope.nix
Normal file
7
clients/quadraticpc/gamescope.nix
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
programs.gamescope.args = [
|
||||
"-W 2560"
|
||||
"-H 1440"
|
||||
"-r 165"
|
||||
];
|
||||
}
|
||||
7
clients/quadtop/gamescope.nix
Normal file
7
clients/quadtop/gamescope.nix
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
programs.gamescope.args = [
|
||||
"-W 1920"
|
||||
"-H 1080"
|
||||
"-r 120"
|
||||
];
|
||||
}
|
||||
|
|
@ -1,13 +1,3 @@
|
|||
{
|
||||
programs = {
|
||||
steam.gamescopeSession.enable = true;
|
||||
gamescope = {
|
||||
enable = true;
|
||||
args = [
|
||||
"-W 2560"
|
||||
"-H 1440"
|
||||
"-r 165"
|
||||
];
|
||||
};
|
||||
};
|
||||
programs.gamescope.enable = true;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,24 @@
|
|||
{ pkgs, ... }:
|
||||
{ pkgs, lib, ... }:
|
||||
{
|
||||
programs.steam = {
|
||||
enable = true;
|
||||
extraCompatPackages = [ pkgs.proton-ge-bin ];
|
||||
gamescopeSession.enable = true;
|
||||
};
|
||||
|
||||
environment.systemPackages = [
|
||||
(lib.hiPrio (
|
||||
pkgs.makeDesktopItem {
|
||||
name = "steam";
|
||||
desktopName = "Steam";
|
||||
exec = "steam-gamescope";
|
||||
icon = "steam";
|
||||
categories = [
|
||||
"Network"
|
||||
"FileTransfer"
|
||||
"Game"
|
||||
];
|
||||
}
|
||||
))
|
||||
];
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue