1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2025-03-31 04:04:45 +00:00
This commit is contained in:
Martin Svanberg 2025-03-25 03:42:10 +05:00 committed by GitHub
commit 9e3e895036
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -4,7 +4,8 @@ with lib;
let
inherit (config.lib.defaults.types) floatWithDeprecationError;
in {
in
{
options = {
system.defaults.".GlobalPreferences"."com.apple.sound.beep.sound" =
@ -28,5 +29,29 @@ in {
"System Preferences". Set to -1.0 to disable mouse acceleration.
'';
};
system.defaults.".GlobalPreferences"."AppleICUNumberSymbols" =
mkOption {
type = types.nullOr types.attrs;
default = null;
example = {
"0" = ".";
"1" = ",";
"10" = ".";
"17" = ",";
};
description = lib.mdDoc ''
Sets the number formatting for the system. For example, to use a
comma as the decimal separator and a period as the thousands
separator, set this to:
{
"0" = ".";
"1" = ",";
"10" = ".";
"17" = ",";
}.
'';
};
};
}