2026-01-09 23:44:58 +01:00
|
|
|
# SPDX-License-Identifier: Unlicense
|
|
|
|
|
{
|
|
|
|
|
inputs = {
|
|
|
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
|
|
|
|
flake-parts.url = "github:hercules-ci/flake-parts";
|
|
|
|
|
devshell.url = "github:numtide/devshell";
|
|
|
|
|
systems.url = "github:nix-systems/default";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
outputs =
|
|
|
|
|
inputs@{ flake-parts, ... }:
|
|
|
|
|
flake-parts.lib.mkFlake { inherit inputs; } {
|
|
|
|
|
systems = import inputs.systems;
|
|
|
|
|
|
|
|
|
|
imports = [
|
|
|
|
|
inputs.devshell.flakeModule
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
perSystem =
|
|
|
|
|
{
|
|
|
|
|
system,
|
|
|
|
|
pkgs,
|
|
|
|
|
inputs',
|
|
|
|
|
...
|
|
|
|
|
}:
|
|
|
|
|
{
|
|
|
|
|
devshells.default = {
|
|
|
|
|
packages = with pkgs; [
|
|
|
|
|
nodejs_24
|
|
|
|
|
typescript
|
|
|
|
|
typescript-language-server
|
2026-01-11 19:51:08 +01:00
|
|
|
prettier
|
2026-01-09 23:44:58 +01:00
|
|
|
];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
}
|