-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathflake.nix
More file actions
13 lines (13 loc) · 763 Bytes
/
flake.nix
File metadata and controls
13 lines (13 loc) · 763 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
{
description = "A Minecraft launcher in nix";
inputs = {
nixpkgs = { url = "github:nixos/nixpkgs?ref=nixos-unstable"; };
mcversions = { url = "github:yushijinhun/minecraft-version-json-history"; flake = false; };
};
outputs = { self, nixpkgs, mcversions }: let pkgs = import nixpkgs { system = "x86_64-linux"; }; in {
homeManagerModules.minecraft = import ./module/module.nix { inherit (self.lib.x86_64-linux) baseModules; }; isNixOSModule = false;
homeManagerModule = self.homeManagerModules.minecraft;
lib.x86_64-linux = import ./module/lib.nix { inherit self pkgs mcversions; };
devShells.x86_64-linux.default = pkgs.mkShell { buildInputs = with pkgs; [ nodejs python3Packages.requests python3Packages.virtualenv ]; };
};
}