Initial commit: userscripts collection with oxlint tooling

This commit is contained in:
2026-07-08 11:59:50 -04:00
commit 672d3d51e1
17 changed files with 2602 additions and 0 deletions
+34
View File
@@ -0,0 +1,34 @@
{
description = "Userscripts dev environment";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11";
flake-utils.url = "github:numtide/flake-utils";
};
outputs =
{ self
, nixpkgs
, flake-utils
,
}:
flake-utils.lib.eachDefaultSystem (
system:
let
pkgs = import nixpkgs { system = system; };
in
{
devShells.default = pkgs.mkShell {
packages = with pkgs; [
nodejs
pnpm
];
shellHook = ''
pnpm install --silent
export PATH="$PWD/node_modules/.bin:$PATH"
'';
};
}
);
}