workflows/mosey-branch: add debug option on module

This commit is contained in:
Gabriel Arazas 2023-08-21 15:42:40 +08:00
parent 01003d8293
commit 68e7eb29cf
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC

View File

@ -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;