summaryrefslogtreecommitdiff
path: root/modules/system
diff options
context:
space:
mode:
authorBrian Leung <leungbk@posteo.net>2022-01-24 20:06:13 -0800
committerBrian Leung <leungbk@posteo.net>2022-03-25 23:04:45 -0700
commitaf3eb87e828e4f7a42fba7e25987eb0c19dd6b85 (patch)
treeb37b0a8b77eb7ced4adb55eea56f96fd4a54227e /modules/system
parent20813f1df71d638b088b7c3ddd1331521cfa811e (diff)
Add NSGlobalDomain.NSAutomaticWindowAnimationsEnabled setting
* modules/system/defaults/NSGlobalDomain.nix: Define.
Diffstat (limited to 'modules/system')
-rw-r--r--modules/system/defaults/NSGlobalDomain.nix8
1 files changed, 8 insertions, 0 deletions
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;