dotfiles/nix/home-manager/modules/multimc.nix
main 1097769c5d
Switch from multimc to polymc
Signed-off-by: main <magic_rb@redalder.org>
2022-04-15 09:51:11 +02:00

18 lines
380 B
Nix

{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.magic_rb.programs.multimc;
inherit (config.magic_rb.pkgs) nixpkgs-unstable;
in
{
options.magic_rb.programs.multimc = {
enable = mkEnableOption "Enable MultiMC Minecraft launcher.";
};
config = mkIf cfg.enable {
home.packages = [
(nixpkgs-unstable.polymc.override { jdk = pkgs.jdk11; })
];
};
}