chore: add a nix flake

This commit is contained in:
Alice Carroll
2024-08-27 03:00:46 +03:00
parent 2d270706a5
commit 50d7073363
2 changed files with 80 additions and 0 deletions

22
flake.nix Normal file
View File

@@ -0,0 +1,22 @@
{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
flake-parts.url = "github:hercules-ci/flake-parts";
};
outputs =
inputs@{ nixpkgs, flake-parts, ... }:
flake-parts.lib.mkFlake { inherit inputs; } {
systems = nixpkgs.lib.platforms.all;
perSystem =
{ pkgs, ... }:
{
devShells.default = pkgs.mkShell {
packages = [
pkgs.bun
pkgs.nodejs
];
};
# TODO: Package LA using Nix
};
};
}