mirror of
https://github.com/FabricSoul/nixos-configs.git
synced 2026-02-03 22:26:24 -05:00
feat: gopass
This commit is contained in:
parent
813906ee3f
commit
a07659f1d4
2 changed files with 18 additions and 0 deletions
6
files/scripts/gopass.sh
Executable file
6
files/scripts/gopass.sh
Executable file
|
|
@ -0,0 +1,6 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
selection=$(gopass list -f | wmenu -p "Search:" -l 10)
|
||||||
|
if [ -n "$selection" ]; then
|
||||||
|
gopass show -c "$selection"
|
||||||
|
fi
|
||||||
12
home/fabric/programs/gpg.nix
Normal file
12
home/fabric/programs/gpg.nix
Normal file
|
|
@ -0,0 +1,12 @@
|
||||||
|
{...}: {
|
||||||
|
services.gpg-agent = {
|
||||||
|
enable = true;
|
||||||
|
enableZshIntegration = true;
|
||||||
|
extraConfig = ''
|
||||||
|
pinentry-program /home/fabric/.nix-profile/bin/pinentry-curses
|
||||||
|
allow-loopback-pinentry
|
||||||
|
default-cache-ttl 86400
|
||||||
|
max-cache-ttl 31536000
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue