pleshevski.ru/flake.nix

28 lines
718 B
Nix
Raw Normal View History

{
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";
};
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
];
};
};
2024-07-24 17:15:05 +03:00
in
flake-utils.lib.eachDefaultSystem out;
}