gege-jdr/flake.nix

22 lines
560 B
Nix

{
description = "Frontend for GéJDR";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, flake-utils, ... }:
flake-utils.lib.eachSystem ["x86_64-linux" "x86_64-darwin"] (system:
let
pkgs = import nixpkgs { inherit system; };
in {
devShell = with pkgs; mkShell {
buildInputs = [
nodejs_20
nodePackages."@volar/vue-language-server" # LSP server
];
};
});
}