diff options
| author | K900 <me@0upti.me> | 2022-10-28 17:26:05 +0300 |
|---|---|---|
| committer | K900 <me@0upti.me> | 2022-10-28 18:05:26 +0300 |
| commit | 9a48ce4fb2aaae9febcec4bb8ea76d37b0c18964 (patch) | |
| tree | 52f1cdcd619313e14e8310fdd99a9bff5ece19e6 | |
| parent | Merge pull request #198115 from trofi/fheroes2-use-gitUpdate (diff) | |
| download | nixpkgs-9a48ce4fb2aaae9febcec4bb8ea76d37b0c18964.tar.gz | |
nixos/plasma5: make kpackage able to resolve dependenciesorigin/kpackage-fix
Horrible horrible hack, but what can you do.
| -rw-r--r-- | nixos/modules/services/x11/desktop-managers/plasma5.nix | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/nixos/modules/services/x11/desktop-managers/plasma5.nix b/nixos/modules/services/x11/desktop-managers/plasma5.nix index 44faa19bc22a..5d23ea0f98e9 100644 --- a/nixos/modules/services/x11/desktop-managers/plasma5.nix +++ b/nixos/modules/services/x11/desktop-managers/plasma5.nix @@ -391,7 +391,18 @@ in environment.etc."X11/xkb".source = xcfg.xkbDir; - environment.sessionVariables.PLASMA_USE_QT_SCALING = mkIf cfg.useQtScaling "1"; + environment.sessionVariables = { + PLASMA_USE_QT_SCALING = mkIf cfg.useQtScaling "1"; + + # Needed for things that depend on other store.kde.org packages to install correctly, + # notably Plasma look-and-feel packages (a.k.a. Global Themes) + # + # FIXME: this is annoyingly impure and should really be fixed at source level somehow, + # but kpackage is a library so we can't just wrap the one thing invoking it and be done. + # This also means things won't work for people not on Plasma, but at least this way it + # works for SOME people. + KPACKAGE_DEP_RESOLVERS_PATH = "${pkgs.plasma5Packages.frameworkintegration.out}/libexec/kf5/kpackagehandlers"; + }; # Enable GTK applications to load SVG icons services.xserver.gdk-pixbuf.modulePackages = [ pkgs.librsvg ]; |
