Skip to content

Commit 7968600

Browse files
committed
add nix setup
1 parent e229895 commit 7968600

File tree

2 files changed

+89
-0
lines changed

2 files changed

+89
-0
lines changed

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: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
description = "Astro development flake";
3+
4+
inputs = {
5+
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
6+
flake-utils.url = "github:numtide/flake-utils";
7+
};
8+
9+
outputs = {
10+
nixpkgs,
11+
flake-utils,
12+
...
13+
}:
14+
flake-utils.lib.eachDefaultSystem (system: let
15+
pkgs = import nixpkgs {
16+
inherit system;
17+
};
18+
in {
19+
devShells.default = pkgs.mkShell {
20+
packages = with pkgs; [
21+
nodejs_24
22+
pnpm
23+
# TS/JS LSP
24+
vtsls
25+
];
26+
};
27+
});
28+
}

0 commit comments

Comments
 (0)