NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
16.52k stars 13k forks source link

Plasma 6.1 system settings pages fail to load without kdePackages.kirigami #324364

Open mksafavi opened 6 days ago

mksafavi commented 6 days ago

Describe the bug

window management section of system settings app doesn't work without installing the kirigami package. It showed a series of Failed to load QML file errors pointing to /kirigami/... directories. Installing kdePackages.kirigami solved the issue. Shouldn't this be included in the Plasma default packages?

Screenshots

working state: image error: image

Notify maintainers

@K900

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

❯ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.9.6, NixOS, 24.11 (Vicuna), 24.11.20240624.2893f56`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.23.0`
 - nixpkgs: `/nix/store/bi5zxc0v5g6ylygdwyqzh280sccg3ykb-source`

Add a :+1: reaction to issues you find important.

K900 commented 6 days ago

It should definitely be included in the default Plasma install. Can you post your configuration?

mksafavi commented 6 days ago

It should definitely be included in the default Plasma install. Can you post your configuration?

I think this is the only kde related config that I have:

  # Enable the KDE Plasma Desktop Environment.
  services.displayManager.sddm.enable = true;
  services.desktopManager.plasma6.enable = true;

I added this to install the package:

users.users.mk.packages = with pkgs; [
      kdePackages.kirigami
    ];
  };
K900 commented 6 days ago

That sounds wrong. How are you starting your session? Just normal SDDM? What shell are you using/

mksafavi commented 6 days ago

That sounds wrong.

Oh. Is there something wrong with my configs?

How are you starting your session? Just normal SDDM? What shell are you using/

yeah. just normal sddm, running on wayland. my interactive shell is fish but my default shell is bash so everything is executed on bash.

Shawn8901 commented 5 days ago

It should definitely be included in the default Plasma install. Can you post your configuration?

Do you mean via module? If yes: it is added to the sddms extra packages https://github.com/NixOS/nixpkgs/blob/00d80d13810dbfea8ab4ed1009b09100cca86ba8/nixos/modules/services/desktop-managers/plasma6.nix#L255 , but beside that I can not ses it.

The plasma5 module does list it as required package in version 2 tho https://github.com/NixOS/nixpkgs/blob/00d80d13810dbfea8ab4ed1009b09100cca86ba8/nixos/modules/services/x11/desktop-managers/plasma5.nix#L215

K900 commented 5 days ago

No, it should be in the wrapper for systemsettings. I'll double check.