sneeuwvlok/modules/desktop/games/minecraft.nix
Chris Kruining 1362d6d3c6 woo, got the server working
only thing to figure out now is how to install tekxit and fix the dns
2025-03-04 23:36:00 +01:00

23 lines
527 B
Nix

{ options, config, lib, pkgs, ... }:
let
inherit (lib.modules) mkIf mkForce mkMerge;
inherit (lib.attrsets) attrValues;
cfg = config.modules.desktop.games.minecraft;
in
{
options.modules.desktop.games.minecraft = let
inherit (lib.options) mkEnableOption;
in {
enable = mkEnableOption "minecraft (Modrinth)";
};
config = mkIf cfg.enable {
# environment.systemPackages = [
# pkgs.minecract
# ];
user.packages = attrValues {
inherit (pkgs) modrinth-app prismlauncher;
};
};
}