17 lines
277 B
Nix
17 lines
277 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 pkgs; });
|
|
};
|
|
}
|