From af73425b825c18fa923ca6abf7fd6293ac8a306e Mon Sep 17 00:00:00 2001 From: worldofpeace Date: Tue, 18 Feb 2020 16:34:26 -0500 Subject: [PATCH] nixos/mate: debugging via environment variable --- nixos/modules/services/x11/desktop-managers/mate.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nixos/modules/services/x11/desktop-managers/mate.nix b/nixos/modules/services/x11/desktop-managers/mate.nix index 5183f8b747cd..f236c14fcf3e 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