mirror of
https://github.com/MeexReay/bRAC.git
synced 2025-09-13 23:47:39 +03:00
docs(readme): nixos installation
This commit is contained in:
parent
697ff09936
commit
91c2c7f35e
24
README.md
24
README.md
@ -55,7 +55,7 @@ cargo build -r # build release (target/release/bRAC)
|
|||||||
|
|
||||||
Read more about that on the [compiling docs](docs/compiling.md).
|
Read more about that on the [compiling docs](docs/compiling.md).
|
||||||
|
|
||||||
### nix package
|
### nixos installation
|
||||||
|
|
||||||
If you have Nix package manager installed, you can use:
|
If you have Nix package manager installed, you can use:
|
||||||
|
|
||||||
@ -64,6 +64,28 @@ nix build github:MeexReay/bRAC # build release (result/bin/bRAC)
|
|||||||
nix run github:MeexReay/bRAC # build and run
|
nix run github:MeexReay/bRAC # build and run
|
||||||
```
|
```
|
||||||
|
|
||||||
|
To install, you need to make [a flake for system](https://nixos.wiki/wiki/flakes#Using_nix_flakes_with_NixOS)
|
||||||
|
|
||||||
|
Add bRAC repository to inputs:
|
||||||
|
|
||||||
|
```nix
|
||||||
|
{
|
||||||
|
inputs.bRAC.url = "github:MeexReay/bRAC"
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
Then add the package to nixos/home-manager config like this:
|
||||||
|
|
||||||
|
```nix
|
||||||
|
{ inputs, ... }
|
||||||
|
|
||||||
|
{
|
||||||
|
environment.systemPackages = [
|
||||||
|
inputs.bRAC.packages.x86-64_linux.default
|
||||||
|
];
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
## chat commands
|
## chat commands
|
||||||
|
|
||||||
commands are any messages that start with a slash `/` \
|
commands are any messages that start with a slash `/` \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user