targets.darwin.defaults

Set macOS user defaults. Values set to null are ignored.

Some settings might require a re-login to take effect.

Some settings are only read from targets.darwin.currentHostDefaults.

Type
open submodule of attribute set of attribute set of anything
Default
{ }
Example
{
  "com.apple.desktopservices" = {
    DSDontWriteNetworkStores = true;
    DSDontWriteUSBStores = true;
  };
}
Declared
<home-manager/modules/targets/darwin/user-defaults>