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

13 lines
294 B
Nix
Raw Normal View History

2018-06-19 19:23:35 +00:00
{ pass, write, writeDash, ... }:
2017-06-18 14:06:37 +00:00
2018-06-19 19:23:35 +00:00
write "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 $@
'';
}