From da6a39436b20d9aecbb32b863ac8a97a2e8f4941 Mon Sep 17 00:00:00 2001 From: Tyler Slabinski Date: Tue, 26 Mar 2019 12:49:26 -0400 Subject: nixos/plasma5: Add mobile.enable option for plasma --- nixos/modules/services/x11/desktop-managers/plasma5.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/nixos/modules/services/x11/desktop-managers/plasma5.nix b/nixos/modules/services/x11/desktop-managers/plasma5.nix index 9191a54e2b1..97dac3d3250 100644 --- a/nixos/modules/services/x11/desktop-managers/plasma5.nix +++ b/nixos/modules/services/x11/desktop-managers/plasma5.nix @@ -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 -- cgit 1.4.1