23 lines
642 B
Nix
23 lines
642 B
Nix
{
|
|
description = "Intentional X reader";
|
|
|
|
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
|
|
outputs = { nixpkgs, ... }:
|
|
let
|
|
systems = [ "x86_64-linux" "aarch64-linux" ];
|
|
forAllSystems = nixpkgs.lib.genAttrs systems;
|
|
in {
|
|
devShells = forAllSystems (system:
|
|
let pkgs = import nixpkgs { inherit system; };
|
|
in {
|
|
default = pkgs.mkShell {
|
|
packages = with pkgs; [ nodejs_22 pnpm chromium ];
|
|
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD = "1";
|
|
PLAYWRIGHT_CHROMIUM_EXECUTABLE =
|
|
"${pkgs.chromium}/bin/chromium";
|
|
};
|
|
});
|
|
};
|
|
}
|