diff --git a/dev-server/.envrc b/dev-server/.envrc new file mode 100644 index 0000000..8392d15 --- /dev/null +++ b/dev-server/.envrc @@ -0,0 +1 @@ +use flake \ No newline at end of file diff --git a/dev-server/.gitignore b/dev-server/.gitignore new file mode 100644 index 0000000..ff51edf --- /dev/null +++ b/dev-server/.gitignore @@ -0,0 +1 @@ +.direnv \ No newline at end of file diff --git a/dev-server/flake.nix b/dev-server/flake.nix new file mode 100644 index 0000000..623e335 --- /dev/null +++ b/dev-server/flake.nix @@ -0,0 +1,17 @@ +{ + inputs = { + nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; + utils.url = "github:numtide/flake-utils"; + }; + + outputs = { self, nixpkgs, utils }: + utils.lib.eachDefaultSystem (system: + let + pkgs = import nixpkgs { inherit system; }; + in { + devShell = with pkgs; mkShell { + buildInputs = with pkgs; [ bun ]; + }; + } + ); +}