|
5 | 5 | ## various stuff that can be plugged in |
6 | 6 | , ffmpeg, xorg, alsa-lib, libpulseaudio, libcanberra-gtk3, libglvnd, libnotify, opensc |
7 | 7 | , adwaita-icon-theme |
8 | | -, browserpass, gnome-browser-connector, uget-integrator, plasma5Packages, bukubrow, pipewire |
9 | | -, tridactyl-native |
10 | | -, fx-cast-bridge |
11 | | -, keepassxc |
| 8 | +, pipewire |
12 | 9 | , udev |
13 | 10 | , libkrb5 |
14 | 11 | , libva |
|
36 | 33 | , icon ? applicationName |
37 | 34 | , wmClass ? applicationName |
38 | 35 | , nativeMessagingHosts ? [] |
39 | | - , extraNativeMessagingHosts ? [] |
40 | 36 | , pkcs11Modules ? [] |
41 | 37 | , useGlvnd ? true |
42 | 38 | , cfg ? config.${applicationName} or {} |
|
65 | 61 | # PCSC-Lite daemon (services.pcscd) also must be enabled for firefox to access smartcards |
66 | 62 | smartcardSupport = cfg.smartcardSupport or false; |
67 | 63 |
|
68 | | - deprecatedNativeMessagingHost = option: pkg: |
69 | | - if (cfg.${option} or false) |
70 | | - then |
71 | | - lib.warn "The cfg.${option} argument for `firefox.override` is deprecated, please add `pkgs.${pkg.pname}` to `nativeMessagingHosts` instead" |
72 | | - [pkg] |
73 | | - else []; |
74 | | - |
75 | | - allNativeMessagingHosts = builtins.map lib.getBin ( |
76 | | - nativeMessagingHosts |
77 | | - ++ deprecatedNativeMessagingHost "enableBrowserpass" browserpass |
78 | | - ++ deprecatedNativeMessagingHost "enableBukubrow" bukubrow |
79 | | - ++ deprecatedNativeMessagingHost "enableTridactylNative" tridactyl-native |
80 | | - ++ deprecatedNativeMessagingHost "enableGnomeExtensions" gnome-browser-connector |
81 | | - ++ deprecatedNativeMessagingHost "enableUgetIntegrator" uget-integrator |
82 | | - ++ deprecatedNativeMessagingHost "enablePlasmaBrowserIntegration" plasma5Packages.plasma-browser-integration |
83 | | - ++ deprecatedNativeMessagingHost "enableFXCastBridge" fx-cast-bridge |
84 | | - ++ deprecatedNativeMessagingHost "enableKeePassXC" keepassxc |
85 | | - ++ (if extraNativeMessagingHosts != [] |
86 | | - then lib.warn "The extraNativeMessagingHosts argument for the Firefox wrapper is deprecated, please use `nativeMessagingHosts`" extraNativeMessagingHosts |
87 | | - else []) |
88 | | - ); |
| 64 | + allNativeMessagingHosts = builtins.map lib.getBin nativeMessagingHosts; |
89 | 65 |
|
90 | 66 | libs = lib.optionals stdenv.hostPlatform.isLinux ( |
91 | 67 | [ udev libva libgbm libnotify xorg.libXScrnSaver cups pciutils vulkan-loader ] |
|
0 commit comments