mirror of
https://github.com/LnL7/nix-darwin.git
synced 2025-03-13 20:30:02 +00:00
add some more options for system.defaults
This commit is contained in:
parent
3025f6a42a
commit
e6e79e53cc
1 changed files with 80 additions and 0 deletions
|
@ -5,6 +5,22 @@ with lib;
|
|||
{
|
||||
options = {
|
||||
|
||||
system.defaults.NSGlobalDomain.AppleKeyboardUIMode = mkOption {
|
||||
type = types.nullOr (types.enum [ 3 ]);
|
||||
default = null;
|
||||
description = ''
|
||||
Configures the keyboard control behavior. Mode 3 enables full keyboard control.
|
||||
'';
|
||||
};
|
||||
|
||||
system.defaults.NSGlobalDomain.ApplePressAndHoldEnabled = mkOption {
|
||||
type = types.nullOr types.bool;
|
||||
default = null;
|
||||
description = ''
|
||||
Whether to enable the press-and-hold feature. The default is true.
|
||||
'';
|
||||
};
|
||||
|
||||
system.defaults.NSGlobalDomain.InitialKeyRepeat = mkOption {
|
||||
type = types.nullOr types.int;
|
||||
default = null;
|
||||
|
@ -29,5 +45,69 @@ with lib;
|
|||
'';
|
||||
};
|
||||
|
||||
system.defaults.NSGlobalDomain.NSAutomaticQuoteSubstitutionEnabled = mkOption {
|
||||
type = types.nullOr types.bool;
|
||||
default = null;
|
||||
description = ''
|
||||
Whether to enable smart quote substitution. The default is true.
|
||||
'';
|
||||
};
|
||||
|
||||
system.defaults.NSGlobalDomain.NSAutomaticDashSubstitutionEnabled = mkOption {
|
||||
type = types.nullOr types.bool;
|
||||
default = null;
|
||||
description = ''
|
||||
Whether to enable smart dash substitution. The default is true.
|
||||
'';
|
||||
};
|
||||
|
||||
system.defaults.NSGlobalDomain.NSAutomaticSpellingCorrectionEnabled = mkOption {
|
||||
type = types.nullOr types.bool;
|
||||
default = null;
|
||||
description = ''
|
||||
Whether to enable automatic spelling correction. The default is true.
|
||||
'';
|
||||
};
|
||||
|
||||
system.defaults.NSGlobalDomain.NSDocumentSaveNewDocumentsToCloud = mkOption {
|
||||
type = types.nullOr types.bool;
|
||||
default = null;
|
||||
description = ''
|
||||
Whether to save new documents to iCloud by default. The default is true.
|
||||
'';
|
||||
};
|
||||
|
||||
system.defaults.NSGlobalDomain.NSNavPanelExpandedStateForSaveMode = mkOption {
|
||||
type = types.nullOr types.bool;
|
||||
default = null;
|
||||
description = ''
|
||||
Whether to use expanded save panel by default. The default is false.
|
||||
'';
|
||||
};
|
||||
|
||||
system.defaults.NSGlobalDomain.NSNavPanelExpandedStateForSaveMode2 = mkOption {
|
||||
type = types.nullOr types.bool;
|
||||
default = null;
|
||||
description = ''
|
||||
Whether to use expanded save panel by default. The default is false.
|
||||
'';
|
||||
};
|
||||
|
||||
system.defaults.NSGlobalDomain."com.apple.swipescrolldirection" = mkOption {
|
||||
type = types.nullOr types.bool;
|
||||
default = null;
|
||||
description = ''
|
||||
Whether to enable "Natural" scrolling direction. The default is true.
|
||||
'';
|
||||
};
|
||||
|
||||
system.defaults.NSGlobalDomain."com.apple.mouse.tapBehavior" = mkOption {
|
||||
type = types.nullOr (types.enum [ 1 ]);
|
||||
default = null;
|
||||
description = ''
|
||||
Configures the trackpad tap behavior. Mode 1 enables tap to click.
|
||||
'';
|
||||
};
|
||||
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue