From af3eb87e828e4f7a42fba7e25987eb0c19dd6b85 Mon Sep 17 00:00:00 2001 From: Brian Leung Date: Mon, 24 Jan 2022 20:06:13 -0800 Subject: Add NSGlobalDomain.NSAutomaticWindowAnimationsEnabled setting * modules/system/defaults/NSGlobalDomain.nix: Define. --- modules/system/defaults/NSGlobalDomain.nix | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'modules/system') diff --git a/modules/system/defaults/NSGlobalDomain.nix b/modules/system/defaults/NSGlobalDomain.nix index 5fb329e..023c06c 100644 --- a/modules/system/defaults/NSGlobalDomain.nix +++ b/modules/system/defaults/NSGlobalDomain.nix @@ -135,6 +135,14 @@ in { ''; }; + system.defaults.NSGlobalDomain.NSAutomaticWindowAnimationsEnabled = mkOption { + type = types.nullOr types.bool; + default = null; + description = '' + Whether to animate opening and closing of windows and popovers. The default is true. + ''; + }; + system.defaults.NSGlobalDomain.NSDisableAutomaticTermination = mkOption { type = types.nullOr types.bool; default = null; -- cgit v1.2.3