I’ve been using
sway recently, as it approaches v1.0, and I’ve recently put together a Nixpkgs overlay that provides a number of packages at their very latest tip of HEAD revisions.
At this time, I’ve packaged:
- grim (screenshot tool for sway/wlroots-based compositors)
- slurp (selection tool to be used with grim)
- wlstream (video capture tool for sway/wlroots-based compositors)
- wayfire (wf-config)
I’m potentially interested in packaging more. I’m aware of some other wlroots-related compositors and hope to add more over time as I decide to kick the tires on them.
(Note that a couple of the packages in the overlay are taken from commits that are in
nixpkgs, but not yet in
nixos-unstable. As of now, the overlay works with the current revision of
nixos-unstable. Specifically, there was work done by others on
wlroots to make them buildable today, given the state of
meson, that I’m just publishing in the overlay for convenience. I’m very thankful for their contributions; all credit goes to them.)
If you take a look at the update script(s), you’ll see that it’s made to be:
- easy to update
- easy to test against the most recent
And for fun, I do also push pre-built packages to a binary cache; more information is in the README.
This is my first time creating an overlay, and my first time putting together more than one-off Nix changes. I would highly appreciate any feedback. (Issues and PRs are great too, of course!)
(I’m also open to suggestions if there’s a better name, or better naming scheme for the overlay.