3 ms·
I do something similar, but instead of a script with a bunch of `defaults write`, Ansible has an osx_defaults module. https://docs.ansible.com/ansible/latest/co
by aeadio 3y ago
I do something similar, but instead of a script with a bunch of `defaults write`, Ansible has an osx_defaults module. https://docs.ansible.com/ansible/latest/collections/community/general/osx_defaults_module.html https://docs.ansible.com/ansible/latest/collections/communit...
- pxc 3y agonix-darwin also handles this fairly nicely. The built-in options are listed in the modules docs starting here: https://daiderd.com/nix-darwin/manual/index.html#opt-system.defaults._.GlobalPreferences_._com.apple.mouse.scaling_ https://daiderd.com/nix-darwin/manual/index.html#opt-system.... but you can also define custom ones without writing new modules via CustomPreferences and CustomSystemPreferences: https://daiderd.com/nix-darwin/manual/index.html#opt-system.defaults.CustomSystemPreferences https://daiderd.com/nix-darwin/manual/index.html#opt-system.... I track all of my `defaults` settings (aside from power management) in version control this way on my work machine. :)