From a4abf70710587f7639aaf63aff1e718a7e97404e Mon Sep 17 00:00:00 2001 From: ob7 Date: Sat, 21 Dec 2024 05:45:04 -0900 Subject: [PATCH] Add NixOS installation instructions to README (#45) --- 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