Merge pull request #23492 from zarelit/xfce_lockscreen
xfce: add screenLock option
This commit is contained in:
commit
710973e354
1 changed files with 7 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue