prismlauncher

This commit is contained in:
2026-08-03 12:47:45 +09:00
parent aaa4542f25
commit 6f19ea8f23
4 changed files with 55 additions and 4 deletions
-4
View File
@@ -1,4 +0,0 @@
{ lib, pkgs, ... }:
lib.mkIf pkgs.stdenv.hostPlatform.isLinux {
home.packages = [ pkgs.prismlauncher ];
}
@@ -0,0 +1,42 @@
_: {
programs.prismlauncher = {
enable = true;
package = null;
settings = {
UseSystemLocale = true;
# Minecraftのバージョンに応じてJavaを切り替える。
AutomaticJavaSwitch = true;
IgnoreJavaCompatibility = false;
# 軽量~中規模構成のグローバル既定値。
MinMemAlloc = 512;
MaxMemAlloc = 4096;
LowMemWarning = true;
# 通常はコンソールを隠し、異常時だけ表示する。
ShowConsole = false;
ShowConsoleOnError = true;
LogPrePostOutput = true;
ConsoleMaxLines = 100000;
ConsoleOverflowStop = true;
# Mod管理。
ModMetadataDisabled = false;
ModDependenciesDisabled = false;
SkipModpackUpdatePrompt = false;
ShowModIncompat = true;
DownloadGameFilesDuringInstanceCreation = true;
# プレイ時間。
RecordGameTime = true;
ShowGameTime = true;
ShowGlobalGameTime = true;
MetaRefreshOnLaunch = true;
};
};
}
@@ -0,0 +1,5 @@
_: {
programs.prismlauncher.settings = {
AutomaticJavaDownload = true;
};
}
@@ -0,0 +1,8 @@
{ pkgs, ... }:
{
home.packages = [ pkgs.prismlauncher ];
programs.prismlauncher.settings = {
EnableFeralGamemode = true;
};
}