stockholm/krebs/5pkgs/simple/brain/default.nix
2017-06-20 16:19:15 +02:00

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 $@
'';
}