minecraft.nix: remove HM

This commit is contained in:
Charlie Root 2024-11-01 21:00:10 +01:00
commit b48444f4ab
Signed by: faukah
SSH key fingerprint: SHA256:jpYIt4Vkz1NBTQcks/N9OPTfTFxE6KF2W/rV7hrfrIw

View file

@ -5,7 +5,6 @@
...
}:
with lib; let
inherit (config.modules.other.system) username;
cfg = config.modules.programs.minecraft;
in {
options.modules.programs.minecraft = {
@ -14,9 +13,6 @@ in {
};
config = mkIf cfg.enable {
home-manager.users.${username} = {
# Install minecraft
home.packages = with pkgs; [prismlauncher];
};
environment.systemPackages = [pkgs.prismlauncher];
};
}