init flake

This commit is contained in:
Yisroel Baum 2026-05-14 20:00:09 +03:00
parent 6d9103e035
commit 32f70f4070
Signed by: yisroelbaum
GPG key ID: 0FA60884F75520A9
2 changed files with 31 additions and 0 deletions

1
.envrc Normal file
View file

@ -0,0 +1 @@
use flake

30
flake.nix Normal file
View file

@ -0,0 +1,30 @@
{
inputs = {
nixpkgs.url = "github:NixOs/nixpkgs/nixos-unstable";
utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, utils }:
utils.lib.eachDefaultSystem (system:
let
pkgs = nixpkgs.legacyPackages.${system};
in {
devShells.default = pkgs.mkShell {
buildInputs = with pkgs; [
php
phpPackages.composer
phpPackages.php-codesniffer
vscode-langservers-extracted
nodejs
nixfmt-rfc-style
nixfmt-tree
cypress
yaml-language-server
typescript
postgresql
process-compose
];
};
}
);
}