stockholm/lass/5pkgs/dpass/default.nix
2018-06-19 23:56:22 +02:00

13 lines
318 B
Nix

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