summaryrefslogtreecommitdiff
path: root/modules/system/defaults/NSGlobalDomain.nix
diff options
context:
space:
mode:
authorNiklas Ravnsborg <niklasravnsborg@gmail.com>2024-09-04 23:03:14 +0200
committerNiklas Ravnsborg <niklasravnsborg@gmail.com>2024-09-16 10:54:05 +0200
commit3b087efcbdb72f89e0c80a3ebdf4e091b7a48e41 (patch)
treee8a52a551a62ee6c4156e95903743953fe9cdbbe /modules/system/defaults/NSGlobalDomain.nix
parent21fe31f26473c180390cfa81e3ea81aca0204c80 (diff)
add `NSGlobalDomain.AppleSpacesSwitchOnActivate` option
Diffstat (limited to 'modules/system/defaults/NSGlobalDomain.nix')
-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 6dcedca..01e7a45 100644
--- a/modules/system/defaults/NSGlobalDomain.nix
+++ b/modules/system/defaults/NSGlobalDomain.nix
@@ -95,6 +95,14 @@ in {
'';
};
+ system.defaults.NSGlobalDomain.AppleSpacesSwitchOnActivate = mkOption {
+ type = types.nullOr types.bool;
+ default = null;
+ description = ''
+ Whether or not to switch to a workspace that has a window of the application open, that is switched to. The default is true.
+ '';
+ };
+
system.defaults.NSGlobalDomain.NSAutomaticCapitalizationEnabled = mkOption {
type = types.nullOr types.bool;
default = null;