pass: enable otp generation
This commit is contained in:
parent
4ad060e795
commit
89cef20b3c
4 changed files with 28 additions and 3 deletions
2
user/fish/completions/pass.fish
Normal file
2
user/fish/completions/pass.fish
Normal file
|
@ -0,0 +1,2 @@
|
|||
complete -c $PROG -f -n '__fish_pass_needs_command' -s c -l clip -d 'Generate an OTP code'
|
||||
complete --no-files pass -a '(__fish_pass_print_entries)' -n '__fish_pass_uses_command otp'
|
|
@ -1,10 +1,15 @@
|
|||
{ config, pkgs, lib, inputs, ... }: {
|
||||
config = {
|
||||
programs.password-store.enable = true;
|
||||
programs.password-store = {
|
||||
enable = true;
|
||||
package = pkgs.pass.withExtensions (ex: with ex; [
|
||||
pass-otp
|
||||
]);
|
||||
};
|
||||
services = {
|
||||
pass-secret-service.enable = true;
|
||||
password-store-sync.enable = true;
|
||||
};
|
||||
home.packages = with pkgs; [ pass wpass _gpg-unlock ];
|
||||
home.packages = with pkgs; [ wpass _gpg-unlock ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue