13 lines
322 B
Nix
13 lines
322 B
Nix
{ pass, write, writeDash, ... }:
|
|
|
|
write "secrets" {
|
|
"/bin/secrets".link = writeDash "secrets" ''
|
|
PASSWORD_STORE_DIR=$HOME/.secrets-pass/ \
|
|
exec ${pass}/bin/pass $@
|
|
'';
|
|
"/bin/secretsmenu".link = writeDash "secretsmenu" ''
|
|
PASSWORD_STORE_DIR=$HOME/.secrets-pass/ \
|
|
exec ${pass}/bin/passmenu $@
|
|
'';
|
|
}
|