2024-09-29 15:58:03 +00:00
|
|
|
{
|
|
|
|
description = "Schlechtenburg";
|
|
|
|
|
|
|
|
inputs = {
|
2024-10-08 07:15:26 +00:00
|
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
2024-09-29 15:58:03 +00:00
|
|
|
|
|
|
|
flake-utils.url = "github:numtide/flake-utils";
|
|
|
|
|
|
|
|
devshell.url = "github:numtide/devshell";
|
|
|
|
devshell.inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
|
|
|
|
|
|
|
outputs = { self, flake-utils, devshell, nixpkgs }:
|
|
|
|
flake-utils.lib.simpleFlake {
|
|
|
|
inherit self nixpkgs;
|
|
|
|
name = "schlechtenburg";
|
|
|
|
preOverlays = [ devshell.overlays.default ];
|
|
|
|
shell = { pkgs }: pkgs.devshell.mkShell {
|
|
|
|
devshell.packages = with pkgs; [
|
2024-10-08 07:15:26 +00:00
|
|
|
nodejs
|
|
|
|
nodePackages.typescript
|
|
|
|
nodePackages.typescript-language-server
|
|
|
|
nodePackages.vue-language-server
|
|
|
|
playwright
|
|
|
|
];
|
|
|
|
|
|
|
|
env = [
|
|
|
|
{ name = "PLAYWRIGHT_NODEJS_PATH"; value = "${pkgs.nodejs}/bin/node"; }
|
|
|
|
{ name = "PLAYWRIGHT_BROWSERS_PATH"; value = "${pkgs.playwright-driver.browsers}"; }
|
|
|
|
{ name = "PLAYWRIGHT_SKIP_VALIDATE_HOST_REQUIREMENTS"; value = "true"; }
|
|
|
|
];
|
2024-09-29 15:58:03 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|