mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-26 10:06:13 +01:00
1097769c5d
Signed-off-by: main <magic_rb@redalder.org>
18 lines
380 B
Nix
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; })
|
|
];
|
|
};
|
|
}
|