mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 13:43:56 -05:00
16 lines
357 B
Nix
16 lines
357 B
Nix
{
|
|
pkgs,
|
|
lib,
|
|
config,
|
|
...
|
|
}: {
|
|
config = lib.mkIf config.ar.home.apps.firefox.enable {
|
|
programs.firefox = {
|
|
enable = true;
|
|
nativeMessagingHosts =
|
|
lib.optionals (config.ar.home.apps.keepassxc.enable) [pkgs.keepassxc]
|
|
++ lib.optionals (config.ar.home.desktop.gnome.enable) [pkgs.gnome-browser-connector];
|
|
};
|
|
};
|
|
}
|