about summary refs log tree commit diff
path: root/nixos/modules/services/x11/desktop-managers/mate.nix
diff options
context:
space:
mode:
authorworldofpeace <worldofpeace@protonmail.ch>2020-02-18 16:34:26 -0500
committerworldofpeace <worldofpeace@protonmail.ch>2020-02-18 16:34:26 -0500
commitaf73425b825c18fa923ca6abf7fd6293ac8a306e (patch)
tree79dd3138e3c10774f1f70d746a8b902b67d1d628 /nixos/modules/services/x11/desktop-managers/mate.nix
parent67034d584f120a0fe2a32c2b7c874862f6fd1591 (diff)
nixos/mate: debugging via environment variable
Diffstat (limited to 'nixos/modules/services/x11/desktop-managers/mate.nix')
-rw-r--r--nixos/modules/services/x11/desktop-managers/mate.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/nixos/modules/services/x11/desktop-managers/mate.nix b/nixos/modules/services/x11/desktop-managers/mate.nix
index 5183f8b747cd4..f236c14fcf3e9 100644
--- a/nixos/modules/services/x11/desktop-managers/mate.nix
+++ b/nixos/modules/services/x11/desktop-managers/mate.nix
@@ -71,6 +71,9 @@ in
     environment.sessionVariables."MATE_PANEL_APPLETS_DIR" = "${config.system.path}/share/mate-panel/applets";
     environment.sessionVariables."MATE_PANEL_EXTRA_MODULES" = "${config.system.path}/lib/mate-panel/applets";
 
+    # Debugging
+    environment.sessionVariables.MATE_SESSION_DEBUG = mkIf cfg.debug "1";
+
     environment.systemPackages =
       pkgs.mate.basePackages ++
       (pkgs.gnome3.removePackagesByName