firefox: update docs example for nativeMessagingHosts

closes https://github.com/nix-community/home-manager/issues/4630

old way of cfg.enableTridactylNative is deprecated upstream
This commit is contained in:
sg-qwt 2023-12-19 21:26:14 +08:00 committed by Robert Helgesson
parent 07c322a7cf
commit 7184dfe663
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -212,12 +212,12 @@ in {
example = literalExpression ''
pkgs.firefox.override {
# See nixpkgs' firefox/wrapper.nix to check which options you can use
cfg = {
nativeMessagingHosts = [
# Gnome shell native connector
enableGnomeExtensions = true;
pkgs.gnome-browser-connector
# Tridactyl native connector
enableTridactylNative = true;
};
pkgs.tridactyl-native
];
}
'';
description = ''