2024-12-30 20:07:37 +00:00
|
|
|
{
|
|
|
|
description = "Skynet Modpack";
|
|
|
|
|
|
|
|
inputs = {
|
|
|
|
nixpkgs.url = "nixpkgs/nixos-unstable";
|
|
|
|
utils.url = "github:numtide/flake-utils";
|
|
|
|
};
|
|
|
|
|
|
|
|
nixConfig = {
|
2025-01-15 19:35:50 +00:00
|
|
|
bash-prompt-suffix = "[Skynet Dev] ";
|
2024-12-30 20:07:37 +00:00
|
|
|
extra-substituters = "https://nix-cache.skynet.ie/skynet-cache";
|
|
|
|
extra-trusted-public-keys = "skynet-cache:zMFLzcRZPhUpjXUy8SF8Cf7KGAZwo98SKrzeXvdWABo=";
|
|
|
|
};
|
|
|
|
|
|
|
|
outputs = {
|
|
|
|
self,
|
|
|
|
nixpkgs,
|
|
|
|
utils,
|
|
|
|
}:
|
|
|
|
utils.lib.eachDefaultSystem (
|
|
|
|
system: let
|
|
|
|
pkgs = (import nixpkgs) {inherit system;};
|
|
|
|
packages = with pkgs; [
|
2025-01-15 19:35:50 +00:00
|
|
|
(pkgs.callPackage ./nix/packwiz.nix {})
|
2024-12-30 20:07:37 +00:00
|
|
|
];
|
|
|
|
in rec {
|
|
|
|
|
|
|
|
# `nix develop`
|
|
|
|
devShells.default = pkgs.mkShell {
|
|
|
|
name = "Skynet Mod env";
|
|
|
|
packages = packages;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
);
|
|
|
|
}
|