oliverdavies.uk/flake.nix

35 lines
771 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-02-14 08:00:00 +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-02-14 08:00:00 +00:00
systems = ["x86_64-linux"];
2024-01-03 20:00:00 +00:00
2024-02-14 08:00:00 +00:00
perSystem = {
config,
self',
inputs',
pkgs,
system,
...
}: {
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
};
2024-02-14 08:00:00 +00:00
formatter = pkgs.alejandra;
2024-01-03 20:00:00 +00:00
};
};
}