2022-06-08 23:24:19 +03:00
|
|
|
{
|
|
|
|
description = "Pleshevski personal site";
|
|
|
|
|
|
|
|
inputs = {
|
|
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
2024-07-24 17:15:05 +03:00
|
|
|
flake-utils.url = "github:numtide/flake-utils";
|
2022-06-08 23:24:19 +03:00
|
|
|
};
|
|
|
|
|
2024-07-24 17:15:05 +03:00
|
|
|
outputs = { self, nixpkgs, flake-utils }:
|
|
|
|
let
|
|
|
|
out = system:
|
|
|
|
let pkgs = import nixpkgs { inherit system; };
|
|
|
|
in {
|
|
|
|
devShells.default = pkgs.mkShell {
|
|
|
|
buildInputs = with pkgs; [
|
|
|
|
nodejs_22
|
|
|
|
gnumake
|
|
|
|
nodePackages.pnpm
|
|
|
|
nodePackages.typescript-language-server # typescript
|
|
|
|
nodePackages.vscode-langservers-extracted # html, css, json, eslint
|
|
|
|
];
|
|
|
|
};
|
2022-06-08 23:24:19 +03:00
|
|
|
};
|
2024-07-24 17:15:05 +03:00
|
|
|
in
|
|
|
|
flake-utils.lib.eachDefaultSystem out;
|
2022-06-08 23:24:19 +03:00
|
|
|
|
|
|
|
}
|