13 lines
300 B
Nix
13 lines
300 B
Nix
{ pass, writeOut, writeDash, ... }:
|
|
|
|
writeOut "brain" {
|
|
"/bin/brain".link = writeDash "brain" ''
|
|
PASSWORD_STORE_DIR=$HOME/brain \
|
|
exec ${pass}/bin/pass $@
|
|
'';
|
|
"/bin/brainmenu".link = writeDash "brainmenu" ''
|
|
PASSWORD_STORE_DIR=$HOME/brain \
|
|
exec ${pass}/bin/passmenu $@
|
|
'';
|
|
}
|