dotfiles/nix/home-manager/modules/multimc.nix

18 lines
348 B
Nix
Raw Normal View History

{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.magic_rb.programs.multimc;
inherit (config.magic_rb.pkgs) nixpkgs-unstable;
in
2021-02-26 10:24:58 +01:00
{
options.magic_rb.programs.multimc = {
enable = mkEnableOption "Enable MultiMC Minecraft launcher.";
};
config = mkIf cfg.enable {
home.packages = [
nixpkgs-unstable.multimc
];
};
2021-02-26 10:24:58 +01:00
}