diff options
author | Thomas Tuegel <ttuegel@gmail.com> | 2015-12-10 10:29:25 -0600 |
---|---|---|
committer | Thomas Tuegel <ttuegel@gmail.com> | 2015-12-11 07:08:33 -0600 |
commit | 9b7ae36087b1bc11ccef85d8f0433dc0f8ab5274 (patch) | |
tree | ef02a63f045f2b3352b4226f323c7511829ade8b /nixos/modules/services/x11/desktop-managers/kde5.nix | |
parent | 521d9e50644b4bfca8877a23b999c7ca0764ad95 (diff) | |
download | nixlib-9b7ae36087b1bc11ccef85d8f0433dc0f8ab5274.tar nixlib-9b7ae36087b1bc11ccef85d8f0433dc0f8ab5274.tar.gz nixlib-9b7ae36087b1bc11ccef85d8f0433dc0f8ab5274.tar.bz2 nixlib-9b7ae36087b1bc11ccef85d8f0433dc0f8ab5274.tar.lz nixlib-9b7ae36087b1bc11ccef85d8f0433dc0f8ab5274.tar.xz nixlib-9b7ae36087b1bc11ccef85d8f0433dc0f8ab5274.tar.zst nixlib-9b7ae36087b1bc11ccef85d8f0433dc0f8ab5274.zip |
nixos/kde5: only install Orion if Breeze GTK unavailable
Diffstat (limited to 'nixos/modules/services/x11/desktop-managers/kde5.nix')
-rw-r--r-- | nixos/modules/services/x11/desktop-managers/kde5.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/nixos/modules/services/x11/desktop-managers/kde5.nix b/nixos/modules/services/x11/desktop-managers/kde5.nix index 2bf2fc296225..6f876c0597df 100644 --- a/nixos/modules/services/x11/desktop-managers/kde5.nix +++ b/nixos/modules/services/x11/desktop-managers/kde5.nix @@ -113,8 +113,11 @@ in pkgs.hicolor_icon_theme plasma5.kde-gtk-config - pkgs.orion # GTK theme, nearly identical to Breeze ] + + # Plasma 5.5 and later has a Breeze GTK theme. + # If it is not available, Orion is very similar to Breeze. + ++ lib.optional (!(lib.hasAttr "breeze-gtk" plasma5)) pkgs.orion ++ lib.optional config.hardware.bluetooth.enable plasma5.bluedevil ++ lib.optional config.networking.networkmanager.enable plasma5.plasma-nm ++ lib.optional config.hardware.pulseaudio.enable plasma5.plasma-pa |