diff options
author | lassulus <lassulus@lassul.us> | 2017-09-19 11:46:29 +0200 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2017-09-19 11:46:29 +0200 |
commit | c83cd3492a180e41c071e31ae8e4225b5c2083fc (patch) | |
tree | ba48c1f93becf569659e432fc9516628f14ce470 /lass/5pkgs/dpass/default.nix | |
parent | 79c5b963555dd617d88584cb5250f9744ff2a402 (diff) |
l: add dpass + bindings
Diffstat (limited to 'lass/5pkgs/dpass/default.nix')
-rw-r--r-- | lass/5pkgs/dpass/default.nix | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lass/5pkgs/dpass/default.nix b/lass/5pkgs/dpass/default.nix new file mode 100644 index 000000000..7e75d50c7 --- /dev/null +++ b/lass/5pkgs/dpass/default.nix @@ -0,0 +1,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 $@ + ''; +} |