nixos/modules/home/apps/minecraft.nix
Florian RICHER 1a97ee6210
All checks were successful
check / check (push) Successful in 32s
modules: Add minecraft
2025-02-01 17:55:46 +01:00

16 lines
No EOL
288 B
Nix

{ config, pkgs, lib, ... }:
with lib;
let
cfg = config.modules.home.apps.minecraft;
in
{
options.modules.home.apps.minecraft = {
enable = mkEnableOption ''
Enable minecraft
'';
};
config = mkIf cfg.enable {
home.packages = with pkgs; [gdlauncher-carbon];
};
}