feat(user/malte/pass): pass-otp extension

This commit is contained in:
Malte Tammena 2024-01-22 16:47:38 +01:00
parent 37bd72787f
commit bbd8b00bae

View file

@ -22,8 +22,6 @@
PREFIX=~/.local/share/password-store/
SUFFIX=.gpg
set -o pipefail
selection=$( fd '.gpg' "$PREFIX" \
| sed "s|$PREFIX||" \
| sed "s|$SUFFIX||" \
@ -37,8 +35,17 @@
in {
programs.password-store = {
enable = true;
package = pkgs.pass.withExtensions (exts: [
exts.pass-otp
]);
settings.PASSWORD_STORE_KEY = (builtins.import ./conf.nix).gpg.id;
};
nixpkgs.overlays = [
(_final: prev: {
firefox = prev.firefox.override {extraNativeMessagingHosts = [pkgs.passff-host];};
})
];
home.packages = [passmenu-bemenu pkgs.hackNerdLigatures];
}