summaryrefslogtreecommitdiffstats
path: root/krebs/5pkgs/simple/brain
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2017-06-18 16:12:54 +0200
committertv <tv@krebsco.de>2017-06-18 16:12:54 +0200
commitfaea33e1cb18010ac60f677ac2c18e813e284cc7 (patch)
tree5ab4189768992e16aa2ed9bc4a509157b544bba6 /krebs/5pkgs/simple/brain
parent9f75e81c5f91aa4236f86c29437de190503ad586 (diff)
parentbf62457ec2655ba4d6ef24c1eb801a80cb7b96bf (diff)
Merge remote-tracking branch 'prism/master'
Diffstat (limited to 'krebs/5pkgs/simple/brain')
-rw-r--r--krebs/5pkgs/simple/brain/default.nix12
1 files changed, 12 insertions, 0 deletions
diff --git a/krebs/5pkgs/simple/brain/default.nix b/krebs/5pkgs/simple/brain/default.nix
new file mode 100644
index 000000000..079db825f
--- /dev/null
+++ b/krebs/5pkgs/simple/brain/default.nix
@@ -0,0 +1,12 @@
+{ pass, writeOut, writeDash, ... }:
+
+writeOut "brain" {
+ "/bin/brain-pass".link = writeDash "brain-pass" ''
+ PASSWORD_STORE_DIR=$HOME/brain \
+ exec ${pass}/bin/pass $@
+ '';
+ "/bin/brain-passmenu".link = writeDash "brain-passmenu" ''
+ PASSWORD_STORE_DIR=$HOME/brain \
+ exec ${pass}/bin/passmenu $@
+ '';
+}