17 lines
371 B
Nix
17 lines
371 B
Nix
# Minecraft client configuration for NixOS
|
|
{
|
|
pkgs,
|
|
config,
|
|
...
|
|
}: {
|
|
nixpkgs.config = {
|
|
allowUnfree = true;
|
|
permittedInsecurePackages = ["minecraft"];
|
|
};
|
|
environment.systemPackages = with pkgs; [
|
|
jre # Required by Minecraft (via polymc)
|
|
minecraft # Official launcher for Minecraft
|
|
polymc # A free, open source launcher for Minecraft
|
|
];
|
|
}
|