Ir para o conteúdo

Linux

Installation options:

Note: Debian packages (.deb) and Red Hat packages (.rpm) are packaged and released along with GitHub releases.

In case your distro doesn't have the package manager option listed above, proceed to build from the source.

NixOS Flake Installation

Note: If you are unsure if you should use the package from nixpkgs or the flakes package, always go for the nixpkgs derivation as the flakes package output is for development purposes only.

For NixOS

To integrate Rio into your NixOS system, add the following to your NixOS configuration:

{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
rio.url = "github:raphamorim/rio/main";
};

outputs = { self, nixpkgs, rio }: {
nixosConfigurations.your-hostname = nixpkgs.lib.nixosSystem {
modules = [
({ pkgs, ... }: {
environment.systemPackages = [
rio.packages.${pkgs.system}.rio
];
})
];
};
};
}

For Home-Manager

To configure Rio using Home-Manager, add the following to your home-manager configuration:

{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
rio.url = "github:raphamorim/rio/main";
};

outputs = { self, nixpkgs, rio }: {
homeConfigurations.your-username = nixpkgs.lib.homeManagerConfiguration {
pkgs = import nixpkgs;
modules = [
({ pkgs, ... }: {
programs.rio.enable = true;
package = rio.packages.${pkgs.system}.rio;
})
];
};
};
}

Single User Installation

For a less declarative installation:

nix profile install github:raphamorim/rio/main