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

firefox: support derivatives #695

Merged
merged 1 commit into from
Dec 25, 2024

Conversation

brckd
Copy link
Contributor

@brckd brckd commented Dec 23, 2024

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:

derivatives = [
{path = "firefox"; name = "Firefox";}
{path = "librewolf"; name = "LibreWolf";}
];

This also makes the librewolf module obsolete and removes it. This
change eliminates redundancy at the cost of slightly less readable code.
@trueNAHO trueNAHO enabled auto-merge (squash) December 25, 2024 18:20
Copy link
Collaborator

@trueNAHO trueNAHO left a 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:

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.

@trueNAHO trueNAHO merged commit 079fece into danth:master Dec 25, 2024
12 checks passed
@brckd
Copy link
Contributor Author

brckd commented Dec 25, 2024

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.

@stylix-automation
Copy link

Successfully created backport PR for release-24.11:

stylix-automation bot pushed a commit that referenced this pull request Jan 4, 2025
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)
trueNAHO pushed a commit that referenced this pull request Jan 4, 2025
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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants