mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-22 21:18:28 +03:00
mate-session-manager: add debug option to mate service
This commit is contained in:
parent
2e285a3e6c
commit
1bacb88c6a
@ -20,10 +20,14 @@ in
|
|||||||
{
|
{
|
||||||
options = {
|
options = {
|
||||||
|
|
||||||
services.xserver.desktopManager.mate.enable = mkOption {
|
services.xserver.desktopManager.mate = {
|
||||||
type = types.bool;
|
enable = mkOption {
|
||||||
default = false;
|
type = types.bool;
|
||||||
description = "Enable the MATE desktop environment";
|
default = false;
|
||||||
|
description = "Enable the MATE desktop environment";
|
||||||
|
};
|
||||||
|
|
||||||
|
debug = mkEnableOption "mate-session debug messages";
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.mate.excludePackages = mkOption {
|
environment.mate.excludePackages = mkOption {
|
||||||
@ -55,7 +59,7 @@ in
|
|||||||
# Update user dirs as described in http://freedesktop.org/wiki/Software/xdg-user-dirs/
|
# Update user dirs as described in http://freedesktop.org/wiki/Software/xdg-user-dirs/
|
||||||
${pkgs.xdg-user-dirs}/bin/xdg-user-dirs-update
|
${pkgs.xdg-user-dirs}/bin/xdg-user-dirs-update
|
||||||
|
|
||||||
${pkgs.mate.mate-session-manager}/bin/mate-session &
|
${pkgs.mate.mate-session-manager}/bin/mate-session ${optionalString cfg.debug "--debug"} &
|
||||||
waitPID=$!
|
waitPID=$!
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user