summaryrefslogtreecommitdiff
path: root/modules/system
diff options
context:
space:
mode:
authorDaiderd Jordan <daiderd@gmail.com>2023-06-20 21:52:47 +0200
committerGitHub <noreply@github.com>2023-06-20 21:52:47 +0200
commit689aa795a171e81b208b210d2d81e9129f014366 (patch)
treee47b0d3b63aecb523aea31c478cee94361e07918 /modules/system
parent681c152eea0d4f9f75c13813cd7c8474c769c260 (diff)
parentcfcfcc535e74ff41e07789625040f7c38a8d40d9 (diff)
Merge pull request #673 from sxyazi/pr-4df4da65
feat: add `AppleWindowTabbingMode` option
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 0224b70..5888d7c 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.enum [ "manual" "always" "fullscreen" ]);
+ 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;