mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 16:57:55 +00:00
workflows/mosey-branch: add debug option on module
This commit is contained in:
parent
01003d8293
commit
68e7eb29cf
@ -110,6 +110,8 @@ in
|
|||||||
tangram # Make yourself a professional social media manager.
|
tangram # Make yourself a professional social media manager.
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
debug = lib.mkEnableOption "gnome-session debug messages";
|
||||||
};
|
};
|
||||||
|
|
||||||
config = lib.mkIf cfg.enable (lib.mkMerge [
|
config = lib.mkIf cfg.enable (lib.mkMerge [
|
||||||
@ -117,6 +119,8 @@ in
|
|||||||
environment.systemPackages = cfg.extraApps ++ requiredPackages;
|
environment.systemPackages = cfg.extraApps ++ requiredPackages;
|
||||||
systemd.packages = [ customDesktopSession ];
|
systemd.packages = [ customDesktopSession ];
|
||||||
|
|
||||||
|
environment.sessionVariables.GNOME_SESSION_DEBUG = lib.mkIf cfg.debug "1";
|
||||||
|
|
||||||
# Our preferred display manager.
|
# Our preferred display manager.
|
||||||
services.xserver = {
|
services.xserver = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user