2018-09-16 00:26:42 +02:00
|
|
|
{ pass, write, writeDash, ... }:
|
|
|
|
|
|
|
|
write "secrets" {
|
2018-10-21 23:20:51 +02:00
|
|
|
"/bin/secrets".link = writeDash "secrets" ''
|
2018-09-16 00:26:42 +02: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 $@
|
|
|
|
'';
|
|
|
|
}
|