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

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