firefox: add gnoe, browser connector

This commit is contained in:
Aly Raffauf 2024-09-18 08:22:44 -04:00
parent 2d9ae2764a
commit 12b6675641
2 changed files with 8 additions and 1 deletions

View file

@ -8,7 +8,8 @@
programs.firefox = {
enable = true;
nativeMessagingHosts =
lib.optional (config.ar.home.apps.keepassxc.enable) pkgs.keepassxc;
lib.optionals (config.ar.home.desktop.gnome.enable) [pkgs.gnome-browser-connector]
++ lib.optional (config.ar.home.apps.keepassxc.enable) pkgs.keepassxc;
};
};
}

View file

@ -95,6 +95,12 @@ in {
type = lib.types.bool;
};
gnome.enable = lib.mkOption {
description = "GNOME with sane defaults.";
default = osConfig.ar.desktop.gnome.enable;
type = lib.types.bool;
};
hyprland = {
enable = lib.mkOption {
description = "Hyprland with full desktop session components.";