From f9ee41a05d4d4a0a39afcefddf8b5d631b9cf6d3 Mon Sep 17 00:00:00 2001 From: Roger Steve Ruiz Date: Sat, 28 Sep 2024 23:28:34 -0500 Subject: [PATCH] Adding option for slow-motion-allowed; This was inspired by a recent Daring Fireball post where I was reminded about this feature and how it's missing from being able to configure it in Nix-Darwin. [https://daringfireball.net/linked/2024/09/28/hidden-pref-to-restore-slow-motion-dock-minimizing-on-macos]() --- modules/system/defaults/dock.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/modules/system/defaults/dock.nix b/modules/system/defaults/dock.nix index 7fda0daf..55199c4b 100644 --- a/modules/system/defaults/dock.nix +++ b/modules/system/defaults/dock.nix @@ -147,6 +147,14 @@ in { ''; }; + system.defaults.dock.slow-motion-allowed = mkOption { + type = types.nullOr types.bool; + default = null; + description = lib.mdDoc '' + Allow for slow-motion minimize effect while holding Shift key. The default is false. + ''; + }; + system.defaults.dock.static-only = mkOption { type = types.nullOr types.bool; default = null;