feat: pass and import plugins config

This commit is contained in:
Zhongheng Liu 2024-10-06 23:43:37 +03:00
commit 62c6c836e3
No known key found for this signature in database
5 changed files with 40 additions and 15 deletions

View file

@ -51,7 +51,6 @@
protonvpn-gui
devenv
vlc
zed-editor
rhythmbox
qq
shotwell
@ -78,7 +77,20 @@
home-manager.enable = true;
firefox = {
enable = true;
package = pkgs.firefox-devedition;
package = with pkgs; (firefox-devedition.override {
nativeMessagingHosts = [
(passff-host.overrideAttrs (old: {
dontStrip = true;
patchPhase = ''sed -i 's#COMMAND = "pass"#COMMAND = "${
pass.withExtensions (ext:
with ext; [
pass-otp
pass-import
])
}/bin/pass"#' src/passff.py'';
}))
];
});
};
thunderbird = {
enable = true;