mirror of
https://git.suyu.dev/suyu/nix-flake.git
synced 2025-12-21 21:36:00 +01:00
a flake of suyu
| suyu | ||
| .gitignore | ||
| flake.lock | ||
| flake.nix | ||
| LICENSE | ||
| README.md | ||
Suyu nix flake.
This is a flake to allow for the installation of suyu on systems using the Nix package manager.
Usage
Add the following in your system flake inputs:
{
inputs = {
# the rest of your inputs here
suyu.url = "git+https://git.suyu.dev/suyu/nix-flake";
suyu.inputs.nixpkgs.follows = "nixpkgs"; # optional, saves space, recommended
}
}
Afterwards, you can add it to your user or system packages by referring to suyu.packages.YOURPLATFORM.suyu pr suyu.packages.YOURPLATFORM.default
Note: This will compile the package from scratch. It can take anywhere between 5-30 minutes depending on your system.
Currently supported platforms:
- x86_64-linux
- aarch64-linux
- x86_64-darwin
- aarch64-darwin
Feel free to submit a PR after you have tested it works on other platforms. I do not own any of the other devices and I cannot guarantee it will work on those.