diff options
Diffstat (limited to 'flake.nix')
-rw-r--r-- | flake.nix | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..8abc618 --- /dev/null +++ b/flake.nix @@ -0,0 +1,36 @@ +{ + outputs = { nixpkgs, self }: + let + supportedSystems = [ + "x86_64-linux" + "aarch64-darwin" + ]; + eachSystem = nixpkgs.lib.genAttrs supportedSystems; + eachNixpkgs = f: eachSystem (system: f (import nixpkgs { inherit system; })); + in + { + packages = eachNixpkgs (pkgs: { + + }); + + devShells = eachNixpkgs (pkgs: { + default = pkgs.mkShell { + inputsFrom = [ + # self.packages.${pkgs.system}.default + ]; + buildInputs = with pkgs; [ + # Services needed for a full deployment. + minio + beanstalkd + postgresql_17 + + # Development utilities. + minio-client + modd + ]; + }; + }); + + formatter = eachNixpkgs (pkgs: pkgs.alejandra); + }; +} |