feat: add shell
This commit is contained in:
parent
311ee6355f
commit
3fd1bb9044
1 changed files with 12 additions and 0 deletions
12
shell.nix
Normal file
12
shell.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
with import <nixpkgs> {};
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "nixin";
|
||||
buildInputs = [
|
||||
nodejs # for vitepress
|
||||
nixos-generators # for building images
|
||||
];
|
||||
shellHook = ''
|
||||
export PATH="$PWD/node_modules/.bin/:$PATH"
|
||||
'';
|
||||
}
|
Loading…
Reference in a new issue