Skip to content

flake: allow extra QT packages in dms-shell package#1903

Merged
Purian23 merged 1 commit intoAvengeMedia:masterfrom
LuckShiba:flake-extra-qt-packages
Mar 4, 2026
Merged

flake: allow extra QT packages in dms-shell package#1903
Purian23 merged 1 commit intoAvengeMedia:masterfrom
LuckShiba:flake-extra-qt-packages

Conversation

@LuckShiba
Copy link
Collaborator

@LuckShiba LuckShiba commented Mar 4, 2026

This allows users to, optionally, add extra QT packages in dms-shell wrapper variables. This is useful for some QT packages some plugins may need, such as qtwebsockets in #1892.

Example usage:

{
  programs.dank-material-shell.package = dmsPkgs.dms-shell.override {
    extraQtPackages = with pkgs.kdePackages; [ qtwebsockets ];
  };
}

@Purian23 Purian23 merged commit 27c26d3 into AvengeMedia:master Mar 4, 2026
2 checks passed
@LuckShiba LuckShiba deleted the flake-extra-qt-packages branch March 4, 2026 03:37
merdely pushed a commit to merdely/DankMaterialShell that referenced this pull request Mar 4, 2026
@djmaze
Copy link

djmaze commented Mar 4, 2026

Mhh.. Somehow with this approach, the HomeAssistant plugin again reports "Missing dependency". Not sure if this because I was using the stable version before.

UPDATE: No, was using the same DMS / Quickshell version of course. Will have a look what I am doing wrong.

@LuckShiba
Copy link
Collaborator Author

@djmaze, have you used the kdePackages.qtwebsockets and restarted your DMS after rebuilding? I just tested on my system, and adding qtwebsockets the same way as in the example in the description here got rid of the "Missing dependency" warning 😕

Run grep qtwebsockets $(which dms) and tell me if it has the qtwebsockets paths on it, it should have.

@djmaze
Copy link

djmaze commented Mar 5, 2026

Yeah, it is in there, I already checked that before. Of course I also restarted dms. When switching back to my branch, it works again.

I realized though that with the setup from my branch it is qtwebsockets-6.10.2 while with the config I am using your branch with it is qtwebsockets-6.10.1. Though I tried to use nixos-unstable same as in the dms flake.

But I have to admit I am not a NixOS expert, so trying to find my way through this. My config inside looks like this (I have a flake-based NixOS setup):

  programs.dank-material-shell = {
    enable = true;
    enableSystemMonitoring = true;
    package = dms.packages.x86_64-linux.dms-shell.override {
      extraQtPackages = with nixos-unstable.kdePackages; [ qtwebsockets ];
    };
    dgop.package = pkgs-unstable.dgop;
  };

I probably need to find a way to fix this myself.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants