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;