nixos/plasma5: Add mobile.enable option for plasma

This commit is contained in:
Tyler Slabinski 2019-03-26 12:49:26 -04:00 committed by Samuel Dionne-Riel
parent fde4f481d9
commit da6a39436b

View File

@ -205,6 +205,14 @@ in
default = {};
type = kdeConfigurationType;
};
mobile.enable = mkOption {
type = types.bool;
default = false;
description = ''
Enable support for running the Plasma Mobile shell.
'';
};
};
imports = [
@ -365,6 +373,9 @@ in
++ lib.optional (cfg.phononBackend == "gstreamer") libsForQt5.phonon-backend-gstreamer
++ lib.optional (cfg.phononBackend == "vlc") libsForQt5.phonon-backend-vlc
# Plasma mobile
++ lib.optional cfg.mobile.enable plasma-phone-components
# Optional hardware support features
++ lib.optionals config.hardware.bluetooth.enable [ bluedevil bluez-qt pkgs.openobex pkgs.obexftp ]
++ lib.optional config.networking.networkmanager.enable plasma-nm