summary refs log tree commit diff
path: root/nixos/modules/services/x11
diff options
context:
space:
mode:
authorTom Hall <tahall256@protonmail.ch>2019-09-15 11:47:14 +0100
committerTom Hall <tahall256@protonmail.ch>2019-09-15 15:13:37 +0100
commit3f52518048523c050a79c7bd1fac79c4f8d1a9bd (patch)
tree5e0469da990de8898df12dadad92780b225e1f27 /nixos/modules/services/x11
parent0d7536764375fa9c64160dbf445caa5cabaf979d (diff)
downloadnixpkgs-3f52518048523c050a79c7bd1fac79c4f8d1a9bd.tar
nixpkgs-3f52518048523c050a79c7bd1fac79c4f8d1a9bd.tar.gz
nixpkgs-3f52518048523c050a79c7bd1fac79c4f8d1a9bd.tar.bz2
nixpkgs-3f52518048523c050a79c7bd1fac79c4f8d1a9bd.tar.lz
nixpkgs-3f52518048523c050a79c7bd1fac79c4f8d1a9bd.tar.xz
nixpkgs-3f52518048523c050a79c7bd1fac79c4f8d1a9bd.tar.zst
nixpkgs-3f52518048523c050a79c7bd1fac79c4f8d1a9bd.zip
nixos/plasma5: optionally include wacomtablet
When services.xserver.wacom.enable is true, include the KDE configuration
GUI for Wacom Tablets in the Plasma5 desktop.
Diffstat (limited to 'nixos/modules/services/x11')
-rw-r--r--nixos/modules/services/x11/desktop-managers/plasma5.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/nixos/modules/services/x11/desktop-managers/plasma5.nix b/nixos/modules/services/x11/desktop-managers/plasma5.nix
index b10755df4dc..b6fb7218da6 100644
--- a/nixos/modules/services/x11/desktop-managers/plasma5.nix
+++ b/nixos/modules/services/x11/desktop-managers/plasma5.nix
@@ -183,7 +183,8 @@ in
         ++ lib.optional config.hardware.pulseaudio.enable plasma-pa
         ++ lib.optional config.powerManagement.enable powerdevil
         ++ lib.optional config.services.colord.enable colord-kde
-        ++ lib.optionals config.services.samba.enable [ kdenetwork-filesharing pkgs.samba ];
+        ++ lib.optionals config.services.samba.enable [ kdenetwork-filesharing pkgs.samba ]
+        ++ lib.optional config.services.xserver.wacom.enable wacomtablet;
 
       environment.pathsToLink = [
         # FIXME: modules should link subdirs of `/share` rather than relying on this