summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLordMZTE <lord@mzte.de>2024-08-10 17:15:34 +0200
committerLordMZTE <lord@mzte.de>2024-08-10 17:15:34 +0200
commit47657466529d30760aa4fd1f17274f349f3394b3 (patch)
treef3aadfccd3f2f4722393ee40a59dfbaec95514ce
parentfeat: add Nix flake (diff)
downloadforgejo-cli-47657466529d30760aa4fd1f17274f349f3394b3.tar.xz
forgejo-cli-47657466529d30760aa4fd1f17274f349f3394b3.zip
docs: add Nix instructions to README
-rw-r--r--README.md19
1 files changed, 19 insertions, 0 deletions
diff --git a/README.md b/README.md
index 82cbb25..9a900ec 100644
--- a/README.md
+++ b/README.md
@@ -22,6 +22,25 @@ cargo install forgejo-cli
cargo install --git https://codeberg.org/Cyborus/forgejo-cli.git --branch main
```
+### Nix
+
+A Nix flake is included in this repository that you may use. You could install it into your Nix
+profile, for example:
+```
+nix profile install git+https://codeberg.org/Cyborus/forgejo-cli
+```
+...or include it in the flake inputs of your NixOS system:
+```nix
+{
+ inputs = {
+ # ...
+ forgejo-cli.url = "git+https://codeberg.org/Cyborus/forgejo-cli";
+ };
+ # ...
+}
+```
+
+
### OCI Container
`forgejo-cli` is available as an OCI container for use in CI, at