mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00:00
Merge pull request #23492 from zarelit/xfce_lockscreen
xfce: add screenLock option
This commit is contained in:
commit
710973e354
@ -47,6 +47,12 @@ in
|
|||||||
default = true;
|
default = true;
|
||||||
description = "Enable the XFWM (default) window manager.";
|
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.tango-icon-theme
|
||||||
pkgs.shared_mime_info
|
pkgs.shared_mime_info
|
||||||
pkgs.which # Needed by the xfce's xinitrc script.
|
pkgs.which # Needed by the xfce's xinitrc script.
|
||||||
|
pkgs."${cfg.screenLock}"
|
||||||
pkgs.xfce.exo
|
pkgs.xfce.exo
|
||||||
pkgs.xfce.gtk_xfce_engine
|
pkgs.xfce.gtk_xfce_engine
|
||||||
pkgs.xfce.mousepad
|
pkgs.xfce.mousepad
|
||||||
|
Loading…
Reference in New Issue
Block a user