Skip to content

Commit d6f69df

Browse files
committed
chore: add Nix configuration
1 parent 1cd799c commit d6f69df

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

.vscode/settings.json

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"nixEnvSelector.nixFile": "${workspaceFolder}/default.nix"
3+
}

default.nix

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
pkgs ? import <nixpkgs> { },
3+
}:
4+
5+
pkgs.mkShell rec {
6+
buildInputs = [
7+
# Nix formatter
8+
pkgs.nixfmt-rfc-style
9+
10+
# Tools
11+
pkgs.git
12+
13+
# Node
14+
pkgs.nodejs
15+
pkgs.nodejs.pkgs.pnpm
16+
];
17+
}

0 commit comments

Comments
 (0)