kinklist/flake.nix
April Eaton 3a8c31de81 Project restructuring
Moving all website resources into `/src/` so separate metadata files
and build artifacts from core project files.
2025-12-18 12:24:05 +01:00

45 lines
977 B
Nix

# SPDX-License-Identifier: Unlicense
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
flake-parts.url = "github:hercules-ci/flake-parts";
systems.url = "github:nix-systems/default";
devshell.url = "github:numtide/devshell";
};
outputs =
inputs@{
flake-parts,
devshell,
...
}:
flake-parts.lib.mkFlake { inherit inputs; } {
systems = import inputs.systems;
imports = [
devshell.flakeModule
];
perSystem =
{
system,
pkgs,
inputs',
...
}:
{
_module.args.pkgs = inputs.nixpkgs.legacyPackages.${system};
devshells.default = {
packages = with pkgs; [
http-server
prettier
vscode-langservers-extracted
typescript-language-server
typescript
nodejs_24
];
};
};
};
}