mirror of
https://github.com/nmasur/dotfiles
synced 2026-08-29 10:58:34 +00:00
switch 1password in ldap to homebrew version
This commit is contained in:
@@ -26,7 +26,7 @@ let
|
|||||||
-E pr=5000/prompt \
|
-E pr=5000/prompt \
|
||||||
-H "${ldap_scheme}://''${LDAP_HOST}:${builtins.toString ldap_port}" \
|
-H "${ldap_scheme}://''${LDAP_HOST}:${builtins.toString ldap_port}" \
|
||||||
-D "${pkgs.lib.toUpper magic_prefix}2\\${pkgs.lib.toLower config.home.username}" \
|
-D "${pkgs.lib.toUpper magic_prefix}2\\${pkgs.lib.toLower config.home.username}" \
|
||||||
-w "$(${pkgs._1password-cli}/bin/op item get T2 --fields label=password --reveal)" \
|
-w "$(/usr/local/bin/op item get T2 --fields label=password --reveal)" \
|
||||||
-b "dc=''${LDAP_HOST//./,dc=}" \
|
-b "dc=''${LDAP_HOST//./,dc=}" \
|
||||||
-s "sub" -x "(cn=''${SEARCH_FILTER})" \
|
-s "sub" -x "(cn=''${SEARCH_FILTER})" \
|
||||||
| ${jq_parse}/bin/ljq
|
| ${jq_parse}/bin/ljq
|
||||||
|
|||||||
Reference in New Issue
Block a user