From 68e7eb29cf3fecb69c27b96e67d943d9f54d7c8a Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Mon, 21 Aug 2023 15:42:40 +0800 Subject: [PATCH] workflows/mosey-branch: add debug option on module --- modules/nixos/workflows/mosey-branch/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/nixos/workflows/mosey-branch/default.nix b/modules/nixos/workflows/mosey-branch/default.nix index d1c390c8..03ff7830 100644 --- a/modules/nixos/workflows/mosey-branch/default.nix +++ b/modules/nixos/workflows/mosey-branch/default.nix @@ -110,6 +110,8 @@ in tangram # Make yourself a professional social media manager. ]; }; + + debug = lib.mkEnableOption "gnome-session debug messages"; }; config = lib.mkIf cfg.enable (lib.mkMerge [ @@ -117,6 +119,8 @@ in environment.systemPackages = cfg.extraApps ++ requiredPackages; systemd.packages = [ customDesktopSession ]; + environment.sessionVariables.GNOME_SESSION_DEBUG = lib.mkIf cfg.debug "1"; + # Our preferred display manager. services.xserver = { enable = true;