summaryrefslogtreecommitdiffstats
path: root/lass/2configs
diff options
context:
space:
mode:
authorlassulus <lass@aidsballs.de>2016-04-20 16:36:29 +0200
committerlassulus <lass@aidsballs.de>2016-04-20 16:36:29 +0200
commitf0291b0f6001f9bf050b1fd4ba0001f46d2911e4 (patch)
tree9d2451c2d150c7a7977fc74309272776aa35252b /lass/2configs
parent6762a8790c4a33b292695a0b0195d227101e728a (diff)
l 2: add krebs-pass
Diffstat (limited to 'lass/2configs')
-rw-r--r--lass/2configs/krebs-pass.nix21
1 files changed, 21 insertions, 0 deletions
diff --git a/lass/2configs/krebs-pass.nix b/lass/2configs/krebs-pass.nix
new file mode 100644
index 000000000..a605bc84b
--- /dev/null
+++ b/lass/2configs/krebs-pass.nix
@@ -0,0 +1,21 @@
+{ pkgs, ... }:
+
+let
+
+ #TODO: tab-completion
+ krebs-pass = pkgs.writeDashBin "krebs-pass" ''
+ PASSWORD_STORE_DIR=$HOME/.krebs-pass \
+ exec ${pkgs.pass}/bin/pass $@
+ '';
+
+ krebs-passmenu = pkgs.writeDashBin "krebs-passmenu" ''
+ PASSWORD_STORE_DIR=$HOME/.krebs-pass \
+ exec ${pkgs.pass}/bin/passmenu $@
+ '';
+
+in {
+ krebs.per-user.lass.packages = [
+ krebs-pass
+ krebs-passmenu
+ ];
+}