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