mirror of
https://github.com/LnL7/nix-darwin.git
synced 2025-03-28 10:47:19 +00:00
Add NSGlobalDomain configs
This commit is contained in:
parent
a08546158d
commit
f17fb87fab
1 changed files with 32 additions and 0 deletions
|
@ -232,6 +232,14 @@ in {
|
|||
'';
|
||||
};
|
||||
|
||||
system.defaults.NSGlobalDomain."com.apple.trackpad.scaling" = mkOption {
|
||||
type = types.nullOr float;
|
||||
default = null;
|
||||
description = ''
|
||||
Configures the trackpad tracking speed (0 to 3). The default is "1".
|
||||
'';
|
||||
};
|
||||
|
||||
system.defaults.NSGlobalDomain."com.apple.springing.enabled" = mkOption {
|
||||
type = types.nullOr types.bool;
|
||||
default = null;
|
||||
|
@ -257,6 +265,30 @@ in {
|
|||
'';
|
||||
};
|
||||
|
||||
system.defaults.NSGlobalDomain.AppleMeasurementUnits = mkOption {
|
||||
type = types.nullOr (types.enum [ "Centimeters" "Inches" ]);
|
||||
default = null;
|
||||
description = ''
|
||||
Whether to use centimeters (metric) or inches (US, UK) as the measurement unit. The default is based on region settings.
|
||||
'';
|
||||
};
|
||||
|
||||
system.defaults.NSGlobalDomain.AppleMetricUnits = mkOption {
|
||||
type = types.nullOr (types.enum [ 0 1 ]);
|
||||
default = null;
|
||||
description = ''
|
||||
Whether to use the metric system. The default is based on region settings.
|
||||
'';
|
||||
};
|
||||
|
||||
system.defaults.NSGlobalDomain.AppleTemperatureUnit = mkOption {
|
||||
type = types.nullOr (types.enum [ "Celsius" "Fahrenheit" ]);
|
||||
default = null;
|
||||
description = ''
|
||||
Whether to use Celsius or Fahrenheit. The default is based on region settings.
|
||||
'';
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue