bootstrap-with-tailwind/flake.nix

24 lines
472 B
Nix
Raw Normal View History

2025-03-01 22:15:39 +00:00
{
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
outputs =
{ nixpkgs, ... }:
let
system = "x86_64-linux";
pkgs = import nixpkgs { inherit system; };
in
{
devShells.${system}.default =
with pkgs;
mkShell {
buildInputs = with pkgs; [
php82
php82Packages.composer
tailwindcss
];
};
formatter.${system} = pkgs.nixfmt-rfc-style;
};
}