diff options
| author | caley <195605706+cqley@users.noreply.github.com> | 2026-07-22 01:58:52 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-07-22 01:58:52 +0200 |
| commit | e5dbf8deb2fdfccdbd984f7f36fa1aa89b2af6a2 (patch) | |
| tree | aa2e9e9775dd5bd6785271ce906b2e8ee9b0d1cc /nixos/modules/games/mc.nix | |
| parent | d39a7aaa2902f20fde834c463851d845a20b084d (diff) | |
changing 'gms' to 'games'
Diffstat (limited to 'nixos/modules/games/mc.nix')
| -rw-r--r-- | nixos/modules/games/mc.nix | 80 |
1 files changed, 80 insertions, 0 deletions
diff --git a/nixos/modules/games/mc.nix b/nixos/modules/games/mc.nix new file mode 100644 index 0000000..d8c6734 --- /dev/null +++ b/nixos/modules/games/mc.nix @@ -0,0 +1,80 @@ +{ config, pkgs, ... }: + +{ + home.packages = [ pkgs.prismlauncher ]; + + home.file.".local/share/PrismLauncher/prismlauncher.cfg" = { + text = pkgs.lib.generators.toINI {} { + General = { + ApplicationTheme = "dark"; + AutoCloseConsole = false; + AutomaticJavaDownload = false; + AutomaticJavaSwitch = true; + CatFit = "fit"; + CatOpacity = 100; + CentralModsDir = "mods"; + CloseAfterLaunch = false; + ConfigVersion = "1.3"; + ConsoleFont = "DejaVu Sans Mono"; + ConsoleFontSize = 11; + ConsoleMaxLines = 100000; + ConsoleOverflowStop = true; + DownloadsDir = "/home/cat/Downloads"; + DownloadsDirWatchRecursive = false; + EnableFeralGamemode = false; + EnableMangoHud = false; + Env = "{}"; + FallbackMRBlockedMods = 2; + IconTheme = "OSX"; + IconsDir = "icons"; + IgnoreJavaCompatibility = false; + IgnoreJavaWizard = false; + InstRenamingMode = "AskEverytime"; + InstSortMode = "Name"; + InstanceDir = "instances"; + JavaArchitecture = "64"; + JavaDir = "java"; + JavaPath = "/nix/store/55mw2ly3dxh5008li72rx6ilc75hgvr0-openjdk-8u502-b01/bin/java"; + Language = "en_US"; + LaunchMaximized = false; + LowMemWarning = true; + MaxMemAlloc = 6016; + MinMemAlloc = 2048; + MinecraftWinHeight = 480; + MinecraftWinWidth = 854; + ModDependenciesDisabled = false; + ModMetadataDisabled = false; + MoveModsFromDownloadsDir = true; + NumberOfConcurrentDownloads = 6; + NumberOfConcurrentTasks = 10; + NumberOfManualRetries = 1; + OnlineFixes = false; + PastebinType = 3; + PermGen = 128; + ProxyAddr = "127.0.0.1"; + ProxyPort = 8080; + ProxyType = "None"; + QuitAfterGameStop = false; + RecordGameTime = true; + RequestTimeout = 60; + ShowConsole = false; + ShowConsoleOnError = true; + ShowGameTime = true; + ShowGameTimeWithoutDays = false; + ShowGlobalGameTime = true; + ShowModIncompat = false; + SkinsDir = "skins"; + SkipModpackUpdatePrompt = false; + StatusBarVisible = false; + TheCat = false; + ToolbarsLocked = true; + UseDiscreteGpu = false; + UseNativeGLFW = false; + UseNativeOpenAL = false; + UseZink = false; + UserAskedAboutAutomaticJavaDownload = true; + }; + }; + force = true; + }; +} |
