2018-06-19 21:23:35 +02:00
|
|
|
{ pass, write, writeDash, ... }:
|
2017-06-18 16:06:37 +02:00
|
|
|
|
2018-06-19 21:23:35 +02:00
|
|
|
write "brain" {
|
2017-06-20 16:19:15 +02:00
|
|
|
"/bin/brain".link = writeDash "brain" ''
|
2017-06-18 16:06:37 +02:00
|
|
|
PASSWORD_STORE_DIR=$HOME/brain \
|
|
|
|
exec ${pass}/bin/pass $@
|
|
|
|
'';
|
2017-06-20 16:19:15 +02:00
|
|
|
"/bin/brainmenu".link = writeDash "brainmenu" ''
|
2017-06-18 16:06:37 +02:00
|
|
|
PASSWORD_STORE_DIR=$HOME/brain \
|
|
|
|
exec ${pass}/bin/passmenu $@
|
|
|
|
'';
|
|
|
|
}
|