oliverdavies.uk/flake.nix

20 lines
566 B
Nix
Raw Normal View History

# Do not edit this file. It is automatically generated by https://www.oliverdavies.uk/build-configs.
{
2024-03-31 09:27:06 +00:00
description = "A Nix Flake for oliverdavies-uk";
2024-01-03 20:00:00 +00:00
2024-03-31 09:27:06 +00:00
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
2024-01-03 20:00:00 +00:00
2024-03-31 09:27:06 +00:00
outputs = { nixpkgs, ... }:
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
2024-03-19 12:58:51 +00:00
2024-03-31 09:27:06 +00:00
inherit (pkgs) mkShell;
in {
devShells.${system}.default =
mkShell { buildInputs = with pkgs; [ nodePackages.pnpm nodejs php82 php82Packages.composer ]; };
2024-01-03 20:00:00 +00:00
2024-03-31 09:27:06 +00:00
formatter.${system} = pkgs.nixfmt;
2024-01-03 20:00:00 +00:00
};
}