- you should be on a version of nixpkgs that has this comit
- you still need to download the passB browser addon from mozilla: https://addons.mozilla.org/en-US/firefox/addon/passb/
run
./generate.shell
- symlink the
passb-overlay.nix
into the folder~/.config/nixpkgs/overlays
- this overrides your firefox-package, so just call
nix-env -iA nixpkgs.firefox
# ~/.config/nixpkgs/config.nix
{
packageOverrides = pkgs: with pkgs; {
all = pkgs.buildEnv {
# ... your other packages
(firefox.override { extraNativeMessagingHosts = [ (import ./passB/default.nix { inherit pkgs; }).firefox-hostApp ]; })
}
};
}