summary refs log tree commit diff
path: root/nixos/modules/services/x11/desktop-managers/mate.nix
diff options
context:
space:
mode:
authorJosé Romildo Malaquias <malaquias@gmail.com>2018-01-04 14:12:49 -0200
committerTuomas Tynkkynen <tuomas.tynkkynen@iki.fi>2018-01-09 02:40:04 +0200
commit598c6c13f02ba75aea1dddb05d4c7e240603b367 (patch)
tree872122be711279f40b8695e6925a2b88a775d0a5 /nixos/modules/services/x11/desktop-managers/mate.nix
parentca27392d9cf1361874e4ff58437f8b84e151735a (diff)
downloadnixpkgs-598c6c13f02ba75aea1dddb05d4c7e240603b367.tar
nixpkgs-598c6c13f02ba75aea1dddb05d4c7e240603b367.tar.gz
nixpkgs-598c6c13f02ba75aea1dddb05d4c7e240603b367.tar.bz2
nixpkgs-598c6c13f02ba75aea1dddb05d4c7e240603b367.tar.lz
nixpkgs-598c6c13f02ba75aea1dddb05d4c7e240603b367.tar.xz
nixpkgs-598c6c13f02ba75aea1dddb05d4c7e240603b367.tar.zst
nixpkgs-598c6c13f02ba75aea1dddb05d4c7e240603b367.zip
mate-panel: let mate-panel find applets in config system path
Diffstat (limited to 'nixos/modules/services/x11/desktop-managers/mate.nix')
-rw-r--r--nixos/modules/services/x11/desktop-managers/mate.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/nixos/modules/services/x11/desktop-managers/mate.nix b/nixos/modules/services/x11/desktop-managers/mate.nix
index dc6658771e4..6cbe6aa1038 100644
--- a/nixos/modules/services/x11/desktop-managers/mate.nix
+++ b/nixos/modules/services/x11/desktop-managers/mate.nix
@@ -67,6 +67,10 @@ in
         # Find the mouse
         export XCURSOR_PATH=~/.icons:${config.system.path}/share/icons
 
+        # Let mate-panel find applets
+        export MATE_PANEL_APPLETS_DIR=$MATE_PANEL_APPLETS_DIR''${MATE_PANEL_APPLETS_DIR:+:}${config.system.path}/share/mate-panel/applets
+        export MATE_PANEL_EXTRA_MODULES=$MATE_PANEL_EXTRA_MODULES''${MATE_PANEL_EXTRA_MODULES:+:}${config.system.path}/lib/mate-panel/applets
+
         # Add mate-control-center paths to some XDG variables because its schemas are needed by mate-settings-daemon, and mate-settings-daemon is a dependency for mate-control-center (that is, they are mutually recursive)
         ${addToXDGDirs pkgs.mate.mate-control-center}