summaryrefslogtreecommitdiffstats
path: root/lass/5pkgs/dpass
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2017-09-19 11:46:29 +0200
committerlassulus <lassulus@lassul.us>2017-09-19 11:46:29 +0200
commitc83cd3492a180e41c071e31ae8e4225b5c2083fc (patch)
treeba48c1f93becf569659e432fc9516628f14ce470 /lass/5pkgs/dpass
parent79c5b963555dd617d88584cb5250f9744ff2a402 (diff)
l: add dpass + bindings
Diffstat (limited to 'lass/5pkgs/dpass')
-rw-r--r--lass/5pkgs/dpass/default.nix12
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 $@
+ '';
+}