blob: 7d10983c7083fce10db8cb463e790c55541e88af (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
{ 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 $@
'';
}
|