Add devenv

This commit is contained in:
Oliver Davies 2024-11-11 23:20:21 +00:00
parent 9908cec213
commit fa87a28f9e
7 changed files with 157 additions and 47 deletions

View file

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