13 lines
241 B
Nix
13 lines
241 B
Nix
{ pkgs
|
|
, lib
|
|
, config
|
|
, ... }: with lib; let
|
|
cfg = config.passthrough.minecraft;
|
|
enable = cfg.enable && (cfg.allUsers || (config.home.username == "app"));
|
|
in mkIf enable {
|
|
home.packages = with pkgs; [
|
|
prismlauncher
|
|
jdk8
|
|
];
|
|
}
|