stockholm/krebs/5pkgs/simple/brain/default.nix
2018-06-19 23:56:22 +02:00

13 lines
294 B
Nix

{ pass, write, writeDash, ... }:
write "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 $@
'';
}