summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorAndy Dirnberger <andy@dirnberger.me>2017-06-25 16:55:37 -0400
committerAndy Dirnberger <andy@dirnberger.me>2017-06-25 16:55:37 -0400
commit725fac8eff4dd2a0a68478c15b627eeec30901a9 (patch)
tree59c60d5029b02bf85f0107b6c4dab12c4fc74986 /modules
parent54244e0bb00b4adbd5beef5059866ac2e40de79a (diff)
Add support for autocapitalization
Signed-off-by: Andy Dirnberger <andy@dirnberger.me>
Diffstat (limited to 'modules')
-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 0e8d064..7e61194 100644
--- a/modules/system/defaults/NSGlobalDomain.nix
+++ b/modules/system/defaults/NSGlobalDomain.nix
@@ -45,6 +45,14 @@ with lib;
'';
};
+ system.defaults.NSGlobalDomain.NSAutomaticCapitalizationEnabled = mkOption {
+ type = types.nullOr types.bool;
+ default = null;
+ description = ''
+ Whether to enable automatic capitalization. The default is true.
+ '';
+ };
+
system.defaults.NSGlobalDomain.NSAutomaticQuoteSubstitutionEnabled = mkOption {
type = types.nullOr types.bool;
default = null;