-
-
Notifications
You must be signed in to change notification settings - Fork 578
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
📝 Added instructions for installing on NixOS. #2279
base: main
Are you sure you want to change the base?
📝 Added instructions for installing on NixOS. #2279
Conversation
#### Installation in NixOS: | ||
|
||
There are 3 official ways to install Caprine on your system. | ||
|
||
1. NixOS Configuration | ||
|
||
* Edit your NixOS configuration file and add the following statement: | ||
|
||
```nix | ||
environment.systemPackages = [ | ||
pkgs.caprine-bin | ||
]; | ||
``` | ||
|
||
2. nix-shell | ||
|
||
* Open your favorite terminal and create an isolated environment with Nix Shell: | ||
|
||
```sh | ||
nix-shell -p caprine-bin | ||
``` | ||
|
||
3. nix-env (not recommended) | ||
|
||
The traditional way to install packages. Not recommended by the NixOS developers: | ||
|
||
```sh | ||
nix-env -iA nixos.caprine-bin | ||
``` | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is also another caprine
package. Can you add that too? @machadofguilherme
<td>NixOS</td> | ||
<td>Nixpkgs</td> | ||
<td align="center">❌</td> | ||
<td>Yueh-Shun Li</td> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you could put it as Official since it is already in Nixpkgs which is an official repo.
Added instructions for installing Caprine on NixOS.
I've covered the three main installation methods in the README.md file.