···1111- `rui home news` - Show the latest news from your Home Manager configuration
1212 packages
13131414-Rui checks the `FLAKE` environment variable for the path to your flake
1515-directory.
1616-1717-Rui looks at the `FLAKE_EDITOR` environment variable for the editor to use when
1818-opening the flake directory, but falls back to `EDITOR` if it isn't set.
1919-2014## Installation
21152216### Add to Flake Inputs (for Flakes Users)
···3024}
3125```
32263333-### Add to System or Home Manager Packages
2727+### Add to Home Manager (Managed Configuration)
2828+2929+This method manages the configuration for you with Nix.
3030+3131+```nix
3232+# ...
3333+3434+inputs.home-manager.lib.homeManagerConfiguration {
3535+ modules = [
3636+ inputs.rui.homeManagerModules.${builtins.currentSystem}.default
3737+ ];
3838+};
3939+4040+# ...
4141+```
4242+4343+### Configure Rui Using Home Manager
4444+4545+```nix
4646+{
4747+ programs.rui = {
4848+ enable = true;
4949+5050+ settings = {
5151+ # Status notifications via `notify-send`
5252+ notify = true;
5353+5454+ # Rui falls back on the `FLAKE_EDITOR` and `EDITOR` environment variables
5555+ editor = "code";
5656+5757+ # Rui falls back on the `FLAKE` environment variable
5858+ flake = "/path/to/your-flake";
5959+ };
6060+ };
6161+}
6262+```
6363+6464+### Add to System or Home Manager Packages (Manual Configuration)
6565+6666+Using this method, configuration is done manually by the user in the
6767+`$HOME/.config/rui/config.json` file.
34683569```nix
3670# For flakes users