moverest / wl-kbptr

Control the mouse pointer with the keyboard on Wayland.
GNU General Public License v3.0
56 stars 7 forks source link

feat: add nix flake #1

Closed theoparis closed 3 months ago

theoparis commented 1 year ago

nix run github:theoparis/wl-kbptr

moverest commented 1 year ago

Thank you for your PR @theoparis. I'm happy to see that someone finds this tool useful even without having "advertised" the project. I'm still trying out stuff and deciding what I want this tool to work and look like. If you have inputs, I'd be happy to hear.

Regarding your changes, I'm trying to keep the build system minimal as maintaining tools across projects can start adding up. However I'd be open to try new things should it make things easier and solve a problem. Could you explain what problem this solves and how you see this being used with the project?

theoparis commented 1 year ago

This adds a Nix flake that can be used with the Nix package manager which works on any linux distribution. Nixpkgs provides over 80,000 packages, some of which even work on MacOS.

One thing I did not consider was upstreaming this nix flake to the nixpkgs repository. If I were to create a PR to nixpkgs you could end up using: nix run nixpkgs#wlr-kbptr.

luftmensch-luftmensch commented 3 months ago

I've packaged it, so it's possible to mentioned it in the README, in the Installation section

moverest commented 3 months ago

Thanks! That's pretty cool. I've added it to the README.