firefox: add preConfig

Add `preConfig`, which acts like `extraConfig`, but placed before
`settings`. This will allow to overwrite settings in `preConfig`,
using `settings` option.
This commit is contained in:
Danil Suetin 2024-07-11 14:27:27 +02:00 committed by Robert Helgesson
parent bd530df4e2
commit 0ee8bfdd04
No known key found for this signature in database
GPG key ID: 96E745BD17AA17ED
7 changed files with 93 additions and 5 deletions

View file

@ -1972,6 +1972,19 @@ in {
'yazi' alias.
'';
}
{
time = "2025-01-29T17:34:53+00:00";
condition = config.programs.firefox.enable;
message = ''
The Firefox module now provides a
'programs.firefox.profiles.<name>.preConfig' option.
It allows extra preferences to be added to 'user.js' before the
options specified in 'programs.firefox.profiles.<name>.settings', so
that they can be overwritten.
'';
}
];
};
}