mirror of
https://github.com/LnL7/nix-darwin.git
synced 2024-12-15 17:51:01 +00:00
24 lines
643 B
Nix
24 lines
643 B
Nix
{ config, lib, ... }:
|
|
|
|
with lib;
|
|
|
|
{
|
|
options = {
|
|
|
|
system.defaults.screensaver.askForPassword = mkOption {
|
|
type = types.nullOr types.bool;
|
|
default = null;
|
|
description = ''
|
|
If true, the user is prompted for a password when the screen saver is unlocked or stopped. The default is false.
|
|
'';
|
|
};
|
|
|
|
system.defaults.screensaver.askForPasswordDelay = mkOption {
|
|
type = types.nullOr types.int;
|
|
default = null;
|
|
description = ''
|
|
The number of seconds to delay before the password will be required to unlock or stop the screen saver (the grace period).
|
|
'';
|
|
};
|
|
};
|
|
}
|