diff options
author | Linnnus <[email protected]> | 2025-02-17 20:28:59 +0100 |
---|---|---|
committer | Linnnus <[email protected]> | 2025-02-17 20:28:59 +0100 |
commit | 2b309097ca145651618234476160fb30405eabe7 (patch) | |
tree | 20321cf83d18c0c3c3a0a745626565074ea69a41 /flake.nix |
Initial commit
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); + }; +} |