pkgs: init brain
This commit is contained in:
parent
501726d384
commit
5adfde5e0d
12
krebs/5pkgs/simple/brain/default.nix
Normal file
12
krebs/5pkgs/simple/brain/default.nix
Normal file
|
@ -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 $@
|
||||||
|
'';
|
||||||
|
}
|
Loading…
Reference in a new issue