diff options
| author | 347Online | Katie Janzen <katiejanzen@347online.me> | 2024-06-08 10:10:29 -0500 |
|---|---|---|
| committer | 347Online | Katie Janzen <katiejanzen@347online.me> | 2024-07-24 12:51:20 -0500 |
| commit | be14a2add172621f1d02b0457e50a6a96fd9b73b (patch) | |
| tree | a29c42ceec40d931b49bd30a7e0604dbb7c84a61 /modules | |
| parent | 884f3fe6d9bf056ba0017c132c39c1f0d07d4fec (diff) | |
Add inline prediction option mirroring the capitalization option
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/examples/lnl.nix | 1 | ||||
| -rw-r--r-- | modules/system/defaults/NSGlobalDomain.nix | 9 |
2 files changed, 9 insertions, 1 deletions
diff --git a/modules/examples/lnl.nix b/modules/examples/lnl.nix index 2edf6cb..96954d2 100644 --- a/modules/examples/lnl.nix +++ b/modules/examples/lnl.nix @@ -10,6 +10,7 @@ system.defaults.NSGlobalDomain.InitialKeyRepeat = 10; system.defaults.NSGlobalDomain.KeyRepeat = 1; system.defaults.NSGlobalDomain.NSAutomaticCapitalizationEnabled = false; + system.defaults.NSGlobalDomain.NSAutomaticInlinePredictionEnabled = false; system.defaults.NSGlobalDomain.NSAutomaticDashSubstitutionEnabled = false; system.defaults.NSGlobalDomain.NSAutomaticPeriodSubstitutionEnabled = false; system.defaults.NSGlobalDomain.NSAutomaticQuoteSubstitutionEnabled = false; diff --git a/modules/system/defaults/NSGlobalDomain.nix b/modules/system/defaults/NSGlobalDomain.nix index 9eb31d5..6dcedca 100644 --- a/modules/system/defaults/NSGlobalDomain.nix +++ b/modules/system/defaults/NSGlobalDomain.nix @@ -7,7 +7,6 @@ let inherit (config.lib.defaults.types) floatWithDeprecationError; in { options = { - system.defaults.NSGlobalDomain.AppleShowAllFiles = mkOption { type = types.nullOr types.bool; default = null; @@ -104,6 +103,14 @@ in { ''; }; + system.defaults.NSGlobalDomain.NSAutomaticInlinePredictionEnabled = mkOption { + type = types.nullOr types.bool; + default = null; + description = '' + Whether to enable inline predictive text. The default is true. + ''; + }; + system.defaults.NSGlobalDomain.NSAutomaticDashSubstitutionEnabled = mkOption { type = types.nullOr types.bool; default = null; |
