add flake config

This commit is contained in:
Jonas Heinrich 2022-12-01 17:52:10 +01:00
parent 5854235d65
commit 12b499c8e4
3 changed files with 46 additions and 6 deletions

19
flake.nix Normal file
View file

@ -0,0 +1,19 @@
{
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
outputs = { self, nixpkgs }:
let
pkgs = import nixpkgs { system = "x86_64-linux"; };
in
{
devShells.x86_64-linux.default = pkgs.mkShell {
packages = with pkgs; [
php82Packages.composer
nixos-shell
nodejs
# phpunit
];
};
};
}