summaryrefslogtreecommitdiff
path: root/modules/system/defaults
diff options
context:
space:
mode:
authorsxyazi <sxyazi@gmail.com>2023-05-27 01:37:34 +0800
committersxyazi <sxyazi@gmail.com>2023-05-27 01:37:34 +0800
commitdf00ca18a35b0b9fdcdb1d862410af92582f5b61 (patch)
tree408922cfdce88bed9eabcb2b48145ddd7b8ee69b /modules/system/defaults
parentb8c286c82c6b47826a6c0377e7017052ad91353c (diff)
feat: add `AppleWindowTabbingMode` option
Diffstat (limited to 'modules/system/defaults')
-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 0224b70..c9633c3 100644
--- a/modules/system/defaults/NSGlobalDomain.nix
+++ b/modules/system/defaults/NSGlobalDomain.nix
@@ -152,6 +152,14 @@ in {
'';
};
+ system.defaults.NSGlobalDomain.AppleWindowTabbingMode = mkOption {
+ type = types.nullOr types.str;
+ default = null;
+ description = ''
+ Sets the window tabbing when opening a new document: 'manual', 'always', or 'fullscreen'. The default is 'fullscreen'.
+ '';
+ };
+
system.defaults.NSGlobalDomain.NSNavPanelExpandedStateForSaveMode = mkOption {
type = types.nullOr types.bool;
default = null;