modules: Add minecraft
All checks were successful
check / check (push) Successful in 32s

This commit is contained in:
Florian RICHER 2025-02-01 17:55:08 +01:00
parent 123f3c4965
commit 1a97ee6210
Signed by: florian.richer
GPG key ID: C73D37CBED7BFC77
3 changed files with 18 additions and 0 deletions

View file

@ -10,6 +10,7 @@
flatpak.enable = true;
jetbrainsToolbox.enable = true;
kitty.enable = true;
minecraft.enable = true;
};
shell = {

View file

@ -7,5 +7,6 @@
./flatpak.nix
./jetbrains-toolbox.nix
./kitty.nix
./minecraft.nix
];
}

View file

@ -0,0 +1,16 @@
{ 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];
};
}