Usage Trial with nix run nix run github:AstroNot233/X-Minecraft-Launcher-Flake Install to user profile # Install nix profile add github:AstroNot233/X-Minecraft-Launcher-Flake # Uninstall nix profile remove X-Minecraft-Launcher-Flake Sustain with home-manager # flake.nix inputs = { # ... xmcl = { url = "github:AstroNot233/X-Minecraft-Launcher-Flake"; inputs.nixpkgs.follows = "nixpkgs"; }; # ... }; # home.nix imports = [ inputs.xmcl.homeModules ]; programs.xmcl = { enable = true; launchEnv = { WEBKIT_DISABLE_DMABUF_RENDERER = 1; CUSTOMIZED_LAUNCH_ENV = "int / string"; }; launchArg = [ "--electron_ozone_platform_hint=auto" ]; jres = [ pkgs.jdk8 pkgs.jdk11 pkgs.jdk17 pkgs.jdk21 pkgs.jdk25 pkgs.any_other_jdk ]; };