Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide plist.extra to set arbitrary plist values #1

Open
z0al opened this issue Dec 31, 2024 · 0 comments
Open

Provide plist.extra to set arbitrary plist values #1

z0al opened this issue Dec 31, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@z0al
Copy link
Owner

z0al commented Dec 31, 2024

Proposal

There is a need to set arbitrary values for options that aren't supported by this module. Unlike system.defaults.CustomUserPreferences in nix-darwin and targets.darwin.currentHostDefaults in home-manager, these values should be removed (via defaults delete ...) if unset later.

How

  • Introduce plist.extra, which accepts arbitrary key-value attributes, with the key representing the domain.
  • Track options previously set by plist.extra to facilitate their removal later.
@z0al z0al added the enhancement New feature or request label Dec 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant