nix: add flake with dev shell

This commit is contained in:
Matthew Penner 2022-10-24 09:48:30 -06:00
parent e49ba65709
commit d31ece1c75
No known key found for this signature in database
5 changed files with 90 additions and 5 deletions

22
flake.nix Normal file
View file

@ -0,0 +1,22 @@
{
description = "Pterodactyl Panel";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = {
self,
nixpkgs,
flake-utils,
...
}:
flake-utils.lib.eachDefaultSystem (
system: let
pkgs = import nixpkgs {inherit system;};
in {
devShell = import ./shell.nix {inherit pkgs;};
}
);
}