1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2025-03-06 16:57:08 +00:00
nix-darwin/modules/system/defaults/screensaver.nix

25 lines
643 B
Nix
Raw Normal View History

{ config, lib, ... }:
with lib;
{
options = {
system.defaults.screensaver.askForPassword = mkOption {
type = types.nullOr types.bool;
default = null;
2024-04-14 23:02:32 +02:00
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;
2024-04-14 23:02:32 +02:00
description = ''
The number of seconds to delay before the password will be required to unlock or stop the screen saver (the grace period).
'';
};
};
}