Initial commit

main
kalle 2025-02-18 19:50:33 +01:00
commit a4c872a776
4 changed files with 88 additions and 0 deletions

43
flake.lock Normal file
View File

@ -0,0 +1,43 @@
{
"nodes": {
"nixpkgs": {
"locked": {
"lastModified": 1739736696,
"narHash": "sha256-zON2GNBkzsIyALlOCFiEBcIjI4w38GYOb+P+R4S8Jsw=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "d74a2335ac9c133d6bbec9fc98d91a77f1604c1f",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"nixpkgs": "nixpkgs",
"systems": "systems"
}
},
"systems": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
}
},
"root": "root",
"version": 7
}

23
flake.nix Normal file
View File

@ -0,0 +1,23 @@
{
description = "Minecraft modded server with create";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
systems.url = "github:nix-systems/default";
};
outputs =
{ systems, nixpkgs, ... }:
let
eachSystem = f: nixpkgs.lib.genAttrs (import systems) (system: f nixpkgs.legacyPackages.${system});
in
{
devShells = eachSystem (pkgs: {
default = pkgs.mkShell {
buildInputs = [
pkgs.packwiz
];
};
});
};
}

9
index.toml Normal file
View File

@ -0,0 +1,9 @@
hash-format = "sha256"
[[files]]
file = "flake.lock"
hash = "7b84edec806d1755e4d22758e807881cc68b7f0359c26de6276ff3c9c6e9255d"
[[files]]
file = "flake.nix"
hash = "4140e8d7b811836adcc30b0525b8d153e3c822d610e1198699aeb6c00cff111c"

13
pack.toml Normal file
View File

@ -0,0 +1,13 @@
name = "Create pack"
author = "dragontamerfred"
version = "1.0.0"
pack-format = "packwiz:1.1.0"
[index]
file = "index.toml"
hash-format = "sha256"
hash = "243ce5fe55086fbac7d46f7574262b98572ba03de25e31728ef1cded3df5ae5c"
[versions]
fabric = "0.16.10"
minecraft = "1.20.1"