This commit is contained in:
2026-10-07 00:23:09 +02:00
parent 29eca8cc26
commit 36765e6fc7
4 changed files with 22 additions and 40 deletions

View File

@@ -34,40 +34,32 @@
desmume
eden
libretro.citra
prismlauncher
steam
steamguard-cli
winetricks
wineWow64Packages.stable
];
services.flatpak.packages = [
"org.vinegarhq.Sober"
];
# TODO: switch to home manager
# home-manager.users.djai =
# { config, ... }:
# {
# home.packages = with pkgs; [ ];
#
# xdg.desktopEntries.sims4 = {
# name = "The Sims 4";
# exec = ''xdg-open "PATHTOEXECHERE"'';
# icon = "${config.home.homeDirectory}/.icons/";
# categories = [ "Game" ];
# terminal = false;
# };
#
# # gamescope does fullscreen and scaling; setting content=game sets direct scnaout
# # requires this in hyprland config: render.direct_scanout = 2;
# wayland.windowManager.hyprland.settings.window_rule = [
# {
# match.class = "gamescope";
# fullscreen = true;
# content = "game";
# opaque = true;
# immediate = true;
# }
# ];
# };
home-manager.users.djai.programs.prismlauncher = {
enable = true;
settings = {
ApplicationTheme = "system";
Env = ''{\"__GLX_VENDOR_LIBRARY_NAME\":\"nvidia\",\"__NV_PRIME_RENDER_OFFLOAD\":\"1\",\"__VK_LAYER_NV_optimus\":\"NVIDIA_only\"}'';
IconTheme = "pe_colored";
JavaPath = "java"; # TODO: check correct
Language = "en_GB";
MaxMemAlloc = 8192;
MinMemAlloc = 512;
ShowConsole = false;
ShowConsoleOnError = true;
ShowGameTime = true;
ShowGameTimeWithoutDays = true;
UseDiscreteGpu = true;
UserAskedAboutAutomaticJavaDownload = true;
};
};
}