nix-darwin icon indicating copy to clipboard operation
nix-darwin copied to clipboard

system.defaults.screensaver.askForPasswordDelay not working

Open rmgpinto opened this issue 1 year ago • 2 comments

I've set system.defaults.screensaver.askForPasswordDelay = 0; but when I set my laptop to sleep, and move the mouse after a couple of seconds, it doesn't ask for my password.

The setting: Lock Screen -> Require password after screen saver begins or display is turned off is still at 5 minutes instead of immediately.

rmgpinto avatar Mar 20 '24 12:03 rmgpinto

Same problem here. Did you find a solution?

anderslundstedt avatar Sep 11 '24 06:09 anderslundstedt

I stopped using nix and rolled out a custom script using defaults write statements.

rmgpinto avatar Sep 11 '24 08:09 rmgpinto

According to https://github.com/mathiasbynens/dotfiles/issues/922 it was removed in macOS 10.13.

ehamberg avatar Oct 30 '24 18:10 ehamberg