Currently heavily under construction, and only the following packages are available:
@prisma/language-server
for the latest stable Prisma language server@prisma/language-server-dev
for the latest development Prisma language server@prisma/language-server-integration
for a custom integration version of Prisma language server
Add an input to your flake inputs:
{
inputs = {
prisma = {
url = "github:pimeys/nixos-prisma";
};
};
}
Then in the outputs, add the overlay to your configuration:
{
outputs = inputs @ { nixpkgs, prisma, ... }:
let
common = { pkgs, config, ... }: {
nixpkgs.overlays = [
prisma.overlay
];
};
in {
nixosConfigurations = {
localhost = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [ ./localhost/configuration.nix ] ++ common;
};
};
};
}
The packages can be added from the `pkgs` collection:
{
environment.systemPackages = with pkgs; [
prismaPackages."@prisma/language-server"
];
}