stockholm/krebs/5pkgs/simple/brain/default.nix

13 lines
300 B
Nix
Raw Normal View History

2017-06-18 14:06:37 +00:00
{ pass, writeOut, writeDash, ... }:
writeOut "brain" {
2017-06-20 14:19:15 +00:00
"/bin/brain".link = writeDash "brain" ''
2017-06-18 14:06:37 +00:00
PASSWORD_STORE_DIR=$HOME/brain \
exec ${pass}/bin/pass $@
'';
2017-06-20 14:19:15 +00:00
"/bin/brainmenu".link = writeDash "brainmenu" ''
2017-06-18 14:06:37 +00:00
PASSWORD_STORE_DIR=$HOME/brain \
exec ${pass}/bin/passmenu $@
'';
}