1
0
Fork 0
mirror of https://git.oat.zone/dark-firepit/dotfiles synced 2024-05-06 23:46:08 +02:00
git.oat.zone--dark-firepit-.../modules/desktop/gaming/minecraft.nix
System administrator affdf52f23 refactoring
2022-04-20 09:53:28 +01:00

19 lines
399 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 {
environment.systemPackages = with pkgs; [ polymc ];
};
}