mirror of
https://github.com/Misterio77/Foundry.git
synced 2026-09-24 15:19:43 -05:00
fix(home/games/star-citizen): enable gamescope, enable umu
This commit is contained in:
@@ -1,5 +1,23 @@
|
||||
{pkgs, ...}: {
|
||||
{
|
||||
pkgs,
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}: let
|
||||
monitor = lib.head (lib.filter (m: m.primary) config.monitors);
|
||||
in {
|
||||
home.packages = [
|
||||
(pkgs.inputs.nix-gaming.star-citizen.override {disableEac = false;})
|
||||
(pkgs.inputs.nix-gaming.star-citizen.override {
|
||||
disableEac = false;
|
||||
useUmu = true;
|
||||
gameScopeEnable = true;
|
||||
gameScopeArgs = [
|
||||
"--force-grab-cursor"
|
||||
"--output-width ${toString monitor.width}"
|
||||
"--output-height ${toString monitor.height}"
|
||||
"--framerate-limit ${toString monitor.refreshRate}"
|
||||
"--prefer-output ${monitor.name}"
|
||||
];
|
||||
})
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user