2022-04-07 09:08:17 +00:00
|
|
|
{ system, ... } @ args: { lib, config, pkgs, ... }:
|
2022-03-05 19:16:12 +00:00
|
|
|
let
|
|
|
|
grapejuice_config = {
|
|
|
|
__version__ = 2;
|
2022-03-31 18:12:58 +00:00
|
|
|
__hardware_profiles__ = null;
|
2022-03-05 19:16:12 +00:00
|
|
|
show_fast_flag_warning = true;
|
|
|
|
no_daemon_mode = true;
|
|
|
|
release_channel = "master";
|
|
|
|
disable_updates = false;
|
|
|
|
ignore_wine_version = false;
|
|
|
|
try_profiling_hardware = false;
|
|
|
|
wineprefixes = [
|
|
|
|
{
|
2022-03-31 18:12:58 +00:00
|
|
|
id = "ec33b6a3-8b44-4179-baec-54cb5bc888cb";
|
2022-03-05 19:16:12 +00:00
|
|
|
priority = 0;
|
|
|
|
name_on_disk = "player";
|
|
|
|
display_name = "Player";
|
2022-04-07 09:36:43 +00:00
|
|
|
wine_home = "${pkgs.wineWowPackages.staging}";
|
2022-03-05 19:16:12 +00:00
|
|
|
dll_overrides = "dxdiagn=;winemenubuilder.exe=";
|
|
|
|
prime_offload_sink = -1;
|
|
|
|
use_mesa_gl_override = false;
|
|
|
|
enable_winedebug = false;
|
|
|
|
winedebug_string = "";
|
2022-03-31 18:12:58 +00:00
|
|
|
roblox_renderer = "OpenGL";
|
2022-03-05 19:16:12 +00:00
|
|
|
env = { };
|
|
|
|
hints = [
|
|
|
|
"player"
|
|
|
|
"app"
|
|
|
|
];
|
|
|
|
fast_flags = {
|
|
|
|
roblox_studio = { };
|
|
|
|
roblox_player = { };
|
|
|
|
roblox_app = { };
|
|
|
|
};
|
|
|
|
third_party = {
|
|
|
|
fps_unlocker = false;
|
2022-03-31 18:12:58 +00:00
|
|
|
dxvk = false;
|
2022-03-05 19:16:12 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
];
|
|
|
|
};
|
2022-03-12 08:32:17 +00:00
|
|
|
grapejuiceJson = pkgs.writeText "grapejuice.json" (builtins.toJSON grapejuice_config);
|
2022-03-05 19:16:12 +00:00
|
|
|
in
|
|
|
|
{
|
|
|
|
|
|
|
|
home.packages = [
|
|
|
|
pkgs.grapejuice
|
|
|
|
];
|
2022-03-12 08:32:17 +00:00
|
|
|
home.activation.grapejuiceSettings = lib.hm.dag.entryAfter [ "writeBoundary" ] ''
|
|
|
|
$DRY_RUN_CMD rm $VERBOSE_ARG -f $HOME/.config/brinkervii/grapejuice/user_settings.json
|
|
|
|
$DRY_RUN_CMD cp $VERBOSE_ARG ${grapejuiceJson} $HOME/.config/brinkervii/grapejuice/user_settings.json
|
|
|
|
$DRY_RUN_CMD chmod +w $VERBOSE_ARG $HOME/.config/brinkervii/grapejuice/user_settings.json
|
|
|
|
'';
|
2022-03-05 19:16:12 +00:00
|
|
|
}
|