LnL7 / nix-darwin

nix modules for darwin
MIT License
3.19k stars 457 forks source link

system.defaults.screensaver.askForPasswordDelay not working #908

Open rmgpinto opened 8 months ago

rmgpinto commented 8 months ago

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.

anderslundstedt commented 2 months ago

Same problem here. Did you find a solution?

rmgpinto commented 2 months ago

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

ehamberg commented 2 weeks ago

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