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