diff options
author | LordMZTE <lord@mzte.de> | 2024-08-10 17:15:34 +0200 |
---|---|---|
committer | LordMZTE <lord@mzte.de> | 2024-08-10 17:15:34 +0200 |
commit | 47657466529d30760aa4fd1f17274f349f3394b3 (patch) | |
tree | f3aadfccd3f2f4722393ee40a59dfbaec95514ce | |
parent | feat: add Nix flake (diff) | |
download | forgejo-cli-47657466529d30760aa4fd1f17274f349f3394b3.tar.xz forgejo-cli-47657466529d30760aa4fd1f17274f349f3394b3.zip |
docs: add Nix instructions to README
-rw-r--r-- | README.md | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -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 |