Add support for Nix with a flake, package, overlay and a Home-Manager module. #30
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds support for Nix by offering a flake with a package to build ronema, an overlay and Home-Manager module.
I also added a small fix to make ronema source its configuration first from
XDG_CONFIG_DIRS/ronema, defaulting to the configuration on its root directory if none exists. This helps configuration through Home-Manager and avoids having to modify the package derivation every time we make a change in the configuration on the Nix side. This change should not impact people not using Nix.I also updated the README to add instructions on how to install it with Nix and Home-Manager and the module documentation, trying to respect how you organized your README.
Finally, I offer my help in maintaining this flake, its module and documentation if this PR is merged.
I hope it is agreeable for you!
This PR fixes #27