From 3b087efcbdb72f89e0c80a3ebdf4e091b7a48e41 Mon Sep 17 00:00:00 2001 From: Niklas Ravnsborg Date: Wed, 4 Sep 2024 23:03:14 +0200 Subject: add `NSGlobalDomain.AppleSpacesSwitchOnActivate` option --- 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 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; -- cgit v1.2.3 From 3d48a9893a12929d48f3ca4279fcfb8a8d4aac96 Mon Sep 17 00:00:00 2001 From: Niklas Ravnsborg Date: Wed, 4 Sep 2024 23:04:29 +0200 Subject: add `finder._FXSortFoldersFirst` option --- modules/system/defaults/finder.nix | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'modules/system') diff --git a/modules/system/defaults/finder.nix b/modules/system/defaults/finder.nix index 478639f..1da93c0 100644 --- a/modules/system/defaults/finder.nix +++ b/modules/system/defaults/finder.nix @@ -80,6 +80,14 @@ with lib; ''; }; + system.defaults.finder._FXSortFoldersFirst = mkOption { + type = types.nullOr types.bool; + default = null; + description = '' + Keep folders on top when sorting by name. The default is false. + ''; + }; + system.defaults.finder.FXEnableExtensionChangeWarning = mkOption { type = types.nullOr types.bool; default = null; -- cgit v1.2.3 From 2841f496312a3e9b4d48e18af435ee46a11a1bb6 Mon Sep 17 00:00:00 2001 From: Niklas Ravnsborg Date: Wed, 4 Sep 2024 23:07:41 +0200 Subject: fix description typo in `dock.nix` --- modules/system/defaults/dock.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/system') diff --git a/modules/system/defaults/dock.nix b/modules/system/defaults/dock.nix index 1e8797f..d92b2f1 100644 --- a/modules/system/defaults/dock.nix +++ b/modules/system/defaults/dock.nix @@ -20,7 +20,7 @@ in { type = types.nullOr types.bool; default = null; description = '' - Whether to automatically hide and show the dock. The default is false. + Whether to automatically hide and show the dock. The default is false. ''; }; -- cgit v1.2.3