dotfiles/home-manager/modules/multimc.nix

23 lines
414 B
Nix
Raw Normal View History

# SPDX-FileCopyrightText: 2022 Richard Brežák <richard@brezak.sk>
#
# SPDX-License-Identifier: LGPL-3.0-or-later
{
config,
lib,
pkgs,
...
}:
with lib; let
cfg = config.magic_rb.programs.multimc;
in {
options.magic_rb.programs.multimc = {
enable = mkEnableOption "Enable MultiMC Minecraft launcher.";
};
config = mkIf cfg.enable {
home.packages = [
pkgs.prismlauncher
];
};
}