oliverdavies.uk/flake.nix

28 lines
720 B
Nix
Raw Normal View History

# Do not edit this file. It is automatically generated by https://www.oliverdavies.uk/build-configs.
{
2024-01-03 20:00:00 +00:00
inputs = {
devshell.url = "github:numtide/devshell";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
2024-01-03 20:00:00 +00:00
};
2024-03-19 12:58:51 +00:00
outputs = inputs@{ flake-parts, ... }:
flake-parts.lib.mkFlake { inherit inputs; } {
imports = [ inputs.devshell.flakeModule ];
2024-01-03 20:00:00 +00:00
2024-03-19 12:58:51 +00:00
systems = [ "x86_64-linux" ];
perSystem = { config, self', inputs', pkgs, system, ... }: {
formatter = pkgs.nixfmt;
2024-01-03 20:00:00 +00:00
devshells.default = {
2024-01-03 20:00:00 +00:00
packages = with pkgs; [
"nodePackages.pnpm"
"nodejs"
"php82"
"php82Packages.composer"
2024-01-03 20:00:00 +00:00
];
2024-01-03 20:00:00 +00:00
};
};
};
}