Testing_packwiz/flake.nix
2024-12-30 20:14:13 +00:00

34 lines
724 B
Nix

{
description = "Skynet Modpack";
inputs = {
nixpkgs.url = "nixpkgs/nixos-unstable";
utils.url = "github:numtide/flake-utils";
};
nixConfig = {
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; [
packwiz
];
in rec {
# `nix develop`
devShells.default = pkgs.mkShell {
name = "Skynet Mod env";
packages = packages;
};
}
);
}