stockholm/lass/5pkgs/dpass/default.nix

13 lines
318 B
Nix
Raw Normal View History

2018-06-19 19:23:35 +00:00
{ pass, write, writeDash, ... }:
2017-09-19 09:46:29 +00:00
2018-06-19 19:23:35 +00:00
write "dsco-pass" {
2017-09-19 09:46:29 +00:00
"/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 $@
'';
}