From 3ba415740e1e21442118857534163291026e35aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Sun, 14 Dec 2025 02:44:13 +0100 Subject: [PATCH] Add docs for using Nix flake (#1103) Co-authored-by: loverustfs Co-authored-by: 0xdx2 Co-authored-by: houseme --- README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/README.md b/README.md index bf6d7fb6..30788f2d 100644 --- a/README.md +++ b/README.md @@ -153,6 +153,23 @@ make help-docker # Show all Docker-related commands Follow the instructions in the [Helm Chart README](https://charts.rustfs.com/) to install RustFS on a Kubernetes cluster. +### 5\. Nix Flake (Option 5) + +If you have [Nix with flakes enabled](https://nixos.wiki/wiki/Flakes#Enable_flakes): + +```bash +# Run directly without installing +nix run github:rustfs/rustfs + +# Build the binary +nix build github:rustfs/rustfs +./result/bin/rustfs --help + +# Or from a local checkout +nix build +nix run +``` + ----- ### Accessing RustFS