grocy/flake.nix
2025-11-15 02:00:55 +00:00

35 lines
815 B
Nix

{
description = "Description for the project";
inputs = {
flake-parts.url = "github:hercules-ci/flake-parts";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
};
outputs = inputs@{ flake-parts, ... }:
flake-parts.lib.mkFlake { inherit inputs; } {
systems = [ "x86_64-linux" "aarch64-linux" "aarch64-darwin" "x86_64-darwin" ];
perSystem = { config, self', inputs', pkgs, system, ... }: {
_module.args.pkgs = import inputs.nixpkgs {
inherit system;
overlays = [
];
};
devShells.default = pkgs.mkShell {
env = {
};
packages = with pkgs; [
php
nodejs
nodePackages.yarn
php84Packages.composer
];
};
};
};
}