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

13 lines
320 B
Nix
Raw Normal View History

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