Skip to content

wayfire: update ecosystem to 0.11.0-unstable#492535

Open
hustlerone wants to merge 3 commits into
NixOS:masterfrom
hustlerone:wayfire
Open

wayfire: update ecosystem to 0.11.0-unstable#492535
hustlerone wants to merge 3 commits into
NixOS:masterfrom
hustlerone:wayfire

Conversation

@hustlerone

Copy link
Copy Markdown
Contributor

Updates the whole ecosystem.

Adds pixdecor, updates wayfire-plugins-extra to latest. Now you can enjoy the burn and carpet animations. These are the more notable changes one might look for.

Things done

  • Built on platform:
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • Tested, as applicable:
  • Ran nixpkgs-review on this PR. See nixpkgs-review usage.
  • Tested basic functionality of all binary files, usually in ./result/bin/.
  • Nixpkgs Release Notes
    • Package update: when the change is major or breaking.
  • NixOS Release Notes
    • Module addition: when adding a new NixOS module.
    • Module update: when the change is significant.
  • Fits CONTRIBUTING.md, pkgs/README.md, maintainers/README.md and other READMEs.

@nixpkgs-ci nixpkgs-ci Bot requested review from teatwig, wineee and wucke13 February 20, 2026 17:51
@nixpkgs-ci nixpkgs-ci Bot added 8.has: package (new) This PR adds a new package 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: module (update) This PR changes an existing module in `nixos/` 8.has: package (update) This PR updates a package to a newer version labels Feb 20, 2026
@hustlerone hustlerone force-pushed the wayfire branch 2 times, most recently from ede86b0 to 6fe96a0 Compare February 20, 2026 20:53
security = {
polkit.enable = true;
pam.services.swaylock = { };
pam.services.wf-locker = { };

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't find anything about a wf-locker service. Can you link where you found it?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We do the same thing for swaylock.

If I recall correctly, it'll most likely be handled by home manager (in the future).

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There should be no reason to patch GitHub work flow files.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

WayfireWM/wf-shell#349 has been merged so the diff can be withdrawn now

wcm = callPackage ./wcm.nix { };
wf-shell = callPackage ./wf-shell.nix { };
wf-shell = callPackage ./wf-shell { };
pixdecor = callPackage ./pixdecor.nix { };

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This could cause some issue since wayfire-plugins-extra also includes pixdecor.
Files from later plugins don't overwrite already existing ones, but there are no warning about conflicts during rebuilds (nix does log something when building wayfire-wrapped, but this is easily missed).

So this would use the newer pixdecor:

programs.wayfire = {
  enable = true;
  plugins = with pkgs.wayfirePlugins; [
    pixdecor
    wayfire-plugins-extra
  ];
};

But this one wouldn't:

programs.wayfire = {
  enable = true;
  plugins = with pkgs.wayfirePlugins; [
    wayfire-plugins-extra
    pixdecor
  ];
};

I'd prefer if we'd push for the open PR in wayfire-plugins-extra to be merged/updated: WayfireWM/wayfire-plugins-extra#312

(Or patch the submodule to use a newer pixdecor version.)

I'm generally unsure about using an unstable Wayfire version in nixpkgs because this would mean dealing more with plugin conflicts (what if someone wants Wayfire from commit XY because it adds support for a useful Wayland protocol, but some plugins aren't compatible with the development version yet?)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I actually haven't noticed pixdecor being there.

As for compatibility, other than wf-config's breaking change I don't think it's going to be a big deal.

I'll withdraw the separate pixdecor addition.

@nixpkgs-ci nixpkgs-ci Bot removed the 8.has: package (new) This PR adds a new package label Feb 21, 2026

@teatwig teatwig left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't use wf-shell or any of the plugins, but I'm currently running the updated versions and everything seems to be stable.

I had to patch doctest locally (see: #514722, waiting for #514727 to be merged), so I couldn't do a nixpkgs-review.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can remove cmake.

Comment on lines 45 to 54

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I looked through the current dependencies, and we can remove the following ones:

  • libinput
  • libxkbcommon
  • gtkmm3

We can add glibmm (giomm) to enable an additional plugin.
I also had to add libGL to the dependencies.

};

nativeBuildInputs = [
meson
ninja
pkg-config
wayland-scanner
vala
gobject-introspection
];

buildInputs = [

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I also needed libgbm for wf-shell to build.

@teatwig

teatwig commented May 4, 2026

Copy link
Copy Markdown
Member

Unrelated but I wonder how best to work with the propagated build inputs.
Would it make sense to propagate pretty much all build inputs from wayfire, so we can remove them from wcm / wayfire-plugins-extra?

The meson.build in the repositories are a bit inconsistent in what dependencies they explicitly require and which ones are assumed to be provided by wayfire.

@hustlerone

hustlerone commented May 4, 2026

Copy link
Copy Markdown
Contributor Author

Unrelated but I wonder how best to work with the propagated build inputs. Would it make sense to propagate pretty much all build inputs from wayfire, so we can remove them from wcm / wayfire-plugins-extra?

The meson.build in the repositories are a bit inconsistent in what dependencies they explicitly require and which ones are assumed to be provided by wayfire.

yea sure we could try that but i doubt we can gain much from it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: module (update) This PR changes an existing module in `nixos/` 8.has: package (update) This PR updates a package to a newer version 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants