lab/nix/flakes/flake-parts/flake.nix

32 lines
662 B
Nix
Raw Normal View History

2025-08-05 17:47:28 +01:00
{
inputs = {
devshell.inputs.nixpkgs.follows = "nixpkgs";
devshell.url = "github:numtide/devshell";
flake-parts.url = "github:hercules-ci/flake-parts";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
};
outputs =
inputs:
inputs.flake-parts.lib.mkFlake { inherit inputs; } {
systems = [ "x86_64-linux" ];
imports = [ inputs.devshell.flakeModule ];
perSystem =
{ pkgs, ... }:
{
devshells.default = {
packages = with pkgs; [
go
php
phpPackages.composer
tailwindcss
];
};
};
};
}