Merge pull request #23492 from zarelit/xfce_lockscreen

xfce: add screenLock option
This commit is contained in:
Graham Christensen 2017-03-06 19:42:47 -05:00 committed by GitHub
commit 710973e354

View File

@ -47,6 +47,12 @@ in
default = true;
description = "Enable the XFWM (default) window manager.";
};
screenLock = mkOption {
type = types.enum [ "xscreensaver" "xlockmore" "slock" ];
default = "xlockmore";
description = "Application used by XFCE to lock the screen.";
};
};
};
@ -80,6 +86,7 @@ in
pkgs.tango-icon-theme
pkgs.shared_mime_info
pkgs.which # Needed by the xfce's xinitrc script.
pkgs."${cfg.screenLock}"
pkgs.xfce.exo
pkgs.xfce.gtk_xfce_engine
pkgs.xfce.mousepad