File tree Expand file tree Collapse file tree
services/x11/desktop-managers
pkgs/desktops/kde-5/plasma Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,7 +18,10 @@ with lib;
1818 autoLogin = true ;
1919 } ;
2020
21- desktopManager . kde5 . enable = true ;
21+ desktopManager . kde5 = {
22+ enable = true ;
23+ enableQt4Support = false ;
24+ } ;
2225
2326 # Enable touchpad support for many laptops.
2427 synaptics . enable = true ;
Original file line number Diff line number Diff line change 2222 description = "Enable the Plasma 5 (KDE 5) desktop environment." ;
2323 } ;
2424
25+ enableQt4Support = mkOption {
26+ type = types . bool ;
27+ default = true ;
28+ description = ''
29+ Enable support for Qt 4-based applications. Particularly, install the
30+ Qt 4 version of the Breeze theme and a default backend for Phonon.
31+ '' ;
32+ } ;
33+
2534 } ;
2635
2736 } ;
105114 kde5 . sonnet
106115 kde5 . threadweaver
107116
108- kde5 . breeze
117+ kde5 . breeze-qt5
109118 kde5 . kactivitymanagerd
110119 kde5 . kde-cli-tools
111120 kde5 . kdecoration
160169 # frameworkintegration was split with plasma-integration in Plasma 5.6
161170 ++ lib . optional ( lib . hasAttr "plasma-integration" kde5 ) kde5 . plasma-integration
162171
172+ ++ lib . optionals cfg . enableQt4Support [ kde5 . breeze-qt4 pkgs . phonon-backend-gstreamer ]
173+
163174 # Optional hardware support features
164175 ++ lib . optional config . hardware . bluetooth . enable kde5 . bluedevil
165176 ++ lib . optional config . networking . networkmanager . enable kde5 . plasma-nm
Original file line number Diff line number Diff line change 4444 inherit ( srcs . breeze ) src version ;
4545 } ;
4646 breeze-qt5 = callPackage ./breeze-qt5.nix { } ;
47- breeze =
48- let
49- version = ( builtins . parseDrvName breeze-qt5 . name ) . version ;
50- in
51- symlinkJoin {
52- name = "breeze-${ version } " ;
53- paths = map ( pkg : pkg . out or pkg ) [ breeze-gtk breeze-qt4 breeze-qt5 ] ;
54- } ;
5547 breeze-grub = callPackage ./breeze-grub.nix { } ;
5648 breeze-plymouth = callPackage ./breeze-plymouth { } ;
5749 kactivitymanagerd = callPackage ./kactivitymanagerd.nix { } ;
You can’t perform that action at this time.
0 commit comments