Skip to content

Commit b790833

Browse files
committed
init flake
1 parent 4a9ad37 commit b790833

File tree

4 files changed

+78
-0
lines changed

4 files changed

+78
-0
lines changed

.envrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
use flake

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ node_modules/
33
public
44
src/gatsby-types.d.ts
55
.DS_Store
6+
/.direnv

flake.lock

Lines changed: 61 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
description = "A very basic flake";
3+
4+
inputs = {
5+
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
6+
flake-utils.url = "github:numtide/flake-utils";
7+
};
8+
9+
outputs = { nixpkgs, flake-utils, ... }: flake-utils.lib.eachDefaultSystem (system:
10+
let pkgs = import nixpkgs { inherit system; }; in {
11+
devShell = pkgs.mkShell {
12+
buildInputs = with pkgs; [ nodejs bun ];
13+
};
14+
});
15+
}

0 commit comments

Comments
 (0)