hcs-html-ccs/flake.nix

44 lines
1,003 B
Nix
Raw Permalink Normal View History

2024-02-17 11:12:03 +01:00
{
description = "HCS Coding Challenge";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
flake-parts.url = "github:hercules-ci/flake-parts";
};
outputs = inputs @ {flake-parts, ...}:
flake-parts.lib.mkFlake {inherit inputs;} {
systems = ["x86_64-linux" "aarch64-darwin" "x86_64-darwin"];
perSystem = {
pkgs,
config,
system,
inputs',
self',
...
}: {
devShells.default = pkgs.mkShell {
nativeBuildInputs = with pkgs; [
# ide
vscodium
# formater
alejandra
nodePackages_latest.prettier
# lsp
nil
tailwindcss-language-server
2024-02-17 11:50:54 +01:00
nodePackages_latest.vscode-html-languageserver-bin
nodePackages_latest.vscode-css-languageserver-bin
2024-02-17 11:12:03 +01:00
2024-02-17 11:50:54 +01:00
# node
2024-02-17 11:12:03 +01:00
nodePackages_latest.nodejs
nodePackages_latest.yarn
];
};
};
};
}