Add Nix flake examples

This commit is contained in:
Oliver Davies 2025-08-05 17:47:28 +01:00
parent 73bf053c8e
commit b4cf963495
6 changed files with 162 additions and 0 deletions

View file

@ -0,0 +1,20 @@
{
inputs.nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
outputs =
inputs:
let
system = "x86_64-linux";
pkgs = import inputs.nixpkgs { inherit system; };
in
{
devShells.${system}.default = pkgs.mkShell {
packages = with pkgs; [
go
php
phpPackages.composer
tailwindcss
];
};
};
}