thunderbird: change settings type to json#5077
Merged
rycee merged 1 commit intonix-community:masterfrom Sep 17, 2024
Merged
Conversation
teto
reviewed
Mar 4, 2024
|
|
||
| cfg = config.programs.thunderbird; | ||
|
|
||
| jsonFormat = pkgs.formats.json { }; |
Collaborator
There was a problem hiding this comment.
this could have been thunderbirdJson including the description to avoid the repetition.
Collaborator
|
could you give an example of configuration that requires nested attributes and even better a test with it ? |
7f3319f to
1b6ad96
Compare
Contributor
Author
Done. |
1b6ad96 to
a92f3fa
Compare
a92f3fa to
a53efe7
Compare
a53efe7 to
1823b8b
Compare
6 tasks
|
Thank you for your contribution! I marked this pull request as stale due to inactivity. Please read the relevant sections below before commenting. If you are the original author of the PR
If you are not the original author of the PR
|
1823b8b to
de53239
Compare
Uses the JSON type, just like the Firefox module, so that nested sets can be used.
de53239 to
4974dfb
Compare
Member
|
Thanks! Finally merged to master now 🙂 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This sets Thunderbird's
settingsoption to use a JSON type, just like the Firefox module, so that nested sets can be used.Tests failed due to something gpg-related before this change.
It might also be worthwhile to extract out Firefox and Thunderbird's modules to some generic Mozilla module so that these common options can be shared 🤷.
Checklist
Change is backwards compatible.
Code formatted with
./format.Code tested through
nix-shell --pure tests -A run.allornix develop --ignore-environment .#allusing Flakes.Test cases updated/added. See example.
Commit messages are formatted like
See CONTRIBUTING for more information and recent commit messages for examples.
If this PR adds a new module
Maintainer CC
@d-dervishi
@jKarlson