diff --git a/homeManagerModules/apps/firefox/default.nix b/homeManagerModules/apps/firefox/default.nix index d6c86882..8c041860 100644 --- a/homeManagerModules/apps/firefox/default.nix +++ b/homeManagerModules/apps/firefox/default.nix @@ -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; }; }; } diff --git a/homeManagerModules/options.nix b/homeManagerModules/options.nix index f8eaf7de..ba1c021e 100644 --- a/homeManagerModules/options.nix +++ b/homeManagerModules/options.nix @@ -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.";