init
This commit is contained in:
commit
f89801cd39
418 changed files with 1855 additions and 0 deletions
21
Modules/Applications/GUI-Apps/Gaming/prismlauncher.nix
Normal file
21
Modules/Applications/GUI-Apps/Gaming/prismlauncher.nix
Normal 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
|
||||
];
|
||||
})
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue