summaryrefslogtreecommitdiffstats
path: root/krebs/5pkgs/simple/brain/default.nix
blob: 9b125862b79277d1bc500838d44817c9d7d9f728 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
{ 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 $@
  '';
}