-
-
Notifications
You must be signed in to change notification settings - Fork 172
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
firefox: support derivatives #695
Conversation
This also makes the librewolf module obsolete and removes it. This change eliminates redundancy at the cost of slightly less readable code.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR enables the Firefox module to support all programs created by Home Manager's
mkFirefoxModule
. This includes all current and future Firefox derivatives supported by Home Manager.This also makes the recently introduced LibreWolf module from #679 obsolete and removes it. This change eliminates redundancy and makes future changes easier at the cost of slightly less readable code.
Great job!
New derivatives can be supported by adding the required details to the
derivatives
variable:Lines 16 to 19 in 2184cd7
derivatives = [ {path = "firefox"; name = "Firefox";} {path = "librewolf"; name = "LibreWolf";} ];
Do you mind adding support for all Home Manager supported derivatives? I see that your original PR nix-community/home-manager#5128 mentions more derivatives.
The derivatives listed there were used as a proof of concept and I accidentally closed related PRs by listing them there. Currently, LibreWolf is the only derivative that has been added, but I plan on supporting Floorp and Mullvad Browser as well and will add them to the list then. |
Successfully created backport PR for |
Leverage Home Manager's mkFirefoxModule pattern introduced in commit 792757f643ce [1] ("firefox: support firefox derivatives"). [1]: nix-community/home-manager@792757f Reviewed-by: NAHO <[email protected]> Tested-by: NAHO <[email protected]> (cherry picked from commit 079fece)
Leverage Home Manager's mkFirefoxModule pattern introduced in commit 792757f643ce [1] ("firefox: support firefox derivatives"). [1]: nix-community/home-manager@792757f Reviewed-by: NAHO <[email protected]> Tested-by: NAHO <[email protected]> (cherry picked from commit 079fece)
This PR enables the Firefox module to support all programs created by Home Manager's
mkFirefoxModule
. This includes all current and future Firefox derivatives supported by Home Manager.This also makes the recently introduced LibreWolf module from #679 obsolete and removes it. This change eliminates redundancy and makes future changes easier at the cost of slightly less readable code.
New derivatives can be supported by adding the required details to the
derivatives
variable:stylix/modules/firefox/hm.nix
Lines 16 to 19 in 2184cd7