mirror of
https://git.oat.zone/dark-firepit/dotfiles
synced 2024-04-28 17:55:06 +02:00
19 lines
385 B
Nix
19 lines
385 B
Nix
{ config, lib, options, pkgs, ... }:
|
|
|
|
with lib;
|
|
let
|
|
cfg = config.modules.desktop.gaming.minecraft;
|
|
in {
|
|
options.modules.desktop.gaming.minecraft = {
|
|
enable = mkOption {
|
|
type = types.bool;
|
|
default = false;
|
|
description = "Enables Minecraft through the PolyMC launcher";
|
|
};
|
|
};
|
|
|
|
config = mkIf cfg.enable {
|
|
home._.packages.polymc.enable = true;
|
|
};
|
|
}
|