stockholm/lass/5pkgs/dpass/default.nix
2017-09-19 11:46:29 +02:00

13 lines
324 B
Nix

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