24 lines
332 B
Nix
24 lines
332 B
Nix
{
|
|
config,
|
|
lib,
|
|
inputs,
|
|
pkgs,
|
|
...
|
|
}:
|
|
|
|
{
|
|
config = lib.mkIf (config.browser.primary == "firefox" || config.browser.secondary == "firefox") {
|
|
programs.firefox = {
|
|
enable = true;
|
|
}
|
|
// (import ./firefox-base.nix {
|
|
inherit
|
|
config
|
|
inputs
|
|
lib
|
|
pkgs
|
|
;
|
|
});
|
|
};
|
|
}
|