summaryrefslogtreecommitdiffstats
path: root/lass/5pkgs/dpass/default.nix
blob: c1e803bcbf30dc65959a6942c94e33a9f2f4ab0f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
{ pass, write, writeDash, ... }:

write "dsco-pass" {
  "/bin/dpass".link = writeDash "dpass" ''
    PASSWORD_STORE_DIR=$HOME/.dpasswordstore \
    exec ${pass}/bin/pass $@
  '';
  "/bin/dpassmenu".link = writeDash "dpassmenu" ''
    PASSWORD_STORE_DIR=$HOME/.dpasswordstore \
    exec ${pass}/bin/passmenu $@
  '';
}