This commit is contained in:
Peritia 2025-08-11 16:28:07 +02:00
parent 57736d3b98
commit 992fd5f726
18 changed files with 0 additions and 0 deletions

View file

@ -0,0 +1,21 @@
{ config, lib, pkgs, ... }:
{
options.prismlauncher.enable = lib.mkEnableOption "Enable PrismLauncher and dependencies";
config = lib.mkIf config.prismlauncher.enable {
home.packages = [
(pkgs.prismlauncher.override {
# Add binary required by some mod
additionalPrograms = [ pkgs.ffmpeg ];
# Set Java runtimes
jdks = [
pkgs.jdk8
pkgs.jdk17
pkgs.jdk21 or pkgs.jdk
];
})
];
};
}