From 927571cd79fb7cfbc9c0adab08eaa606499d8913 Mon Sep 17 00:00:00 2001 From: ob7 Date: Tue, 10 Dec 2024 21:12:38 -0900 Subject: [PATCH] docs: add NixOS install instructions to README Add NixOS package installation instructions. This reflects tenere's recent addition to nixpkgs in release-24.11 --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index 641afe6..2cc1017 100644 --- a/README.md +++ b/README.md @@ -44,6 +44,20 @@ You can download the pre-built binaries from the [release page](https://github.c cargo install tenere ``` +### ❄️ NixOS / Nix + +Tenere is available in nixpkgs and can be installed via configuration.nix: + +```nix +environment.systemPackages = with pkgs; [ + tenere +]; +``` +For non-NixOS systems, install directly with: +```nix +nix-env -iA nixpkgs.tenere +``` + ### ⚒️ Build from source To build from the source, you need [Rust](https://www.rust-lang.org/) compiler and