1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

xfce: add screenLock option

screenLock option is needed to provide at least one application for
xflock4 to lock the screen
This commit is contained in:
David Costa 2017-03-04 17:51:32 +01:00
parent ca8edb791e
commit fc6c50f1b5

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