2018-09-15 22:26:42 +00:00
|
|
|
{ pass, write, writeDash, ... }:
|
|
|
|
|
|
|
|
write "secrets" {
|
2018-10-21 21:20:51 +00:00
|
|
|
"/bin/secrets".link = writeDash "secrets" ''
|
2018-09-15 22:26:42 +00:00
|
|
|
PASSWORD_STORE_DIR=$HOME/.secrets-pass/ \
|
|
|
|
exec ${pass}/bin/pass $@
|
|
|
|
'';
|
|
|
|
"/bin/secretsmenu".link = writeDash "secretsmenu" ''
|
|
|
|
PASSWORD_STORE_DIR=$HOME/.secrets-pass/ \
|
|
|
|
exec ${pass}/bin/passmenu $@
|
|
|
|
'';
|
|
|
|
}
|