feat(user/malte/pass): pass-otp extension
This commit is contained in:
parent
37bd72787f
commit
bbd8b00bae
|
@ -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];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue