summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorMichael Hoang <Enzime@users.noreply.github.com>2024-09-19 17:45:53 +0700
committerGitHub <noreply@github.com>2024-09-19 17:45:53 +0700
commitc03f85fa42d68d1056ca1740f3113b04f3addff2 (patch)
treeb6fbd34ca7156a55e80676ea1f6949d9ec1fb709 /modules
parent6374cd7e50aa057a688142eed2345083047ad884 (diff)
parente92cc01524b68028d449e9dbb56a8a644ede3ab4 (diff)
Merge pull request #1057 from niklasravnsborg/master
Adjust default options
Diffstat (limited to 'modules')
-rw-r--r--modules/system/defaults/NSGlobalDomain.nix8
-rw-r--r--modules/system/defaults/dock.nix2
-rw-r--r--modules/system/defaults/finder.nix8
3 files changed, 17 insertions, 1 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;
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.
'';
};
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;