mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-29 11:36:16 +01:00
f923362537
Signed-off-by: Magic_RB <magic_rb@redalder.org>
23 lines
414 B
Nix
23 lines
414 B
Nix
# 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
|
|
];
|
|
};
|
|
}
|