targets.darwin.currentHostDefaults
Set macOS user defaults. Unlike targets.darwin.defaults,
the preferences will only be applied to the currently logged-in host. This
distinction is important for networked accounts.
Values set to null are ignored.
Some settings might require a re-login to take effect.
- Type
open submodule of attribute set of attribute set of anything- Default
{ }- Example
{ "com.apple.controlcenter" = { BatteryShowPercentage = true; }; }- Declared
- <home-manager/modules/targets/darwin/user-defaults>