From 2b309097ca145651618234476160fb30405eabe7 Mon Sep 17 00:00:00 2001 From: Linnnus Date: Mon, 17 Feb 2025 20:28:59 +0100 Subject: Initial commit --- flake.nix | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 flake.nix (limited to 'flake.nix') 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); + }; +} -- cgit v1.2.3