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/
|
PREFIX=~/.local/share/password-store/
|
||||||
SUFFIX=.gpg
|
SUFFIX=.gpg
|
||||||
|
|
||||||
set -o pipefail
|
|
||||||
|
|
||||||
selection=$( fd '.gpg' "$PREFIX" \
|
selection=$( fd '.gpg' "$PREFIX" \
|
||||||
| sed "s|$PREFIX||" \
|
| sed "s|$PREFIX||" \
|
||||||
| sed "s|$SUFFIX||" \
|
| sed "s|$SUFFIX||" \
|
||||||
|
@ -37,8 +35,17 @@
|
||||||
in {
|
in {
|
||||||
programs.password-store = {
|
programs.password-store = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
package = pkgs.pass.withExtensions (exts: [
|
||||||
|
exts.pass-otp
|
||||||
|
]);
|
||||||
settings.PASSWORD_STORE_KEY = (builtins.import ./conf.nix).gpg.id;
|
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];
|
home.packages = [passmenu-bemenu pkgs.hackNerdLigatures];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue