commit 1c4926e6b645af4f34c6580ec549a19b509e7401 Author: Jan Klattenhoff Date: Fri Sep 6 07:17:05 2024 +0200 feat: add initial flake.nix for MusicQueue project diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..9bb6f35 --- /dev/null +++ b/flake.nix @@ -0,0 +1,30 @@ +{ + description = "MusicQueue"; + + + inputs = { + nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable"; + }; + + outputs = { self, nixpkgs, ... }: + let + system = "x86_64-linux"; + pkgs = nixpkgs.legacyPackages.${system}; + in + { + devShells.${system}.default = + pkgs.mkShell + { + buildInputs = [ + pkgs.git + pkgs.ddev + pkgs.php82 + pkgs.php82Packages.composer + pkgs.bun + ]; + + shellHook = '' + ''; + }; + }; +}