mirror of
https://github.com/nmasur/dotfiles
synced 2025-04-24 04:32:24 +00:00
Compare commits
No commits in common. "6ee5ade2bcd8ec758f8bed5c97f8b9aab973bdf1" and "07a0d5185b33cf4f659a7ff8749e23ffb5404f47" have entirely different histories.
6ee5ade2bc
...
07a0d5185b
@ -48,19 +48,11 @@
|
|||||||
fi
|
fi
|
||||||
${ldap_script}/bin/ldap "$@" | jq '[ .[].member] | add'
|
${ldap_script}/bin/ldap "$@" | jq '[ .[].member] | add'
|
||||||
'';
|
'';
|
||||||
ldapl_script = pkgs.writeShellScriptBin "ldapl" ''
|
|
||||||
if ! [ "$LDAP_HOST" ]; then
|
|
||||||
echo "No LDAP_HOST specified!"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
${ldap_script}/bin/ldap "*$@*" | jq -r '.[].name'
|
|
||||||
'';
|
|
||||||
in
|
in
|
||||||
[
|
[
|
||||||
ldap_script
|
ldap_script
|
||||||
ldapm_script
|
ldapm_script
|
||||||
ldapg_script
|
ldapg_script
|
||||||
ldapl_script
|
|
||||||
jq_parse
|
jq_parse
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
@ -20,10 +20,7 @@
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
# Add homebrew paths to CLI path
|
# Add homebrew paths to CLI path
|
||||||
home-manager.users.${config.user}.home.sessionPath = [
|
home-manager.users.${config.user}.home.sessionPath = [ "/opt/homebrew/bin/" ];
|
||||||
"/opt/homebrew/bin/"
|
|
||||||
"/opt/homebrew/opt/trash/bin/"
|
|
||||||
];
|
|
||||||
|
|
||||||
homebrew = {
|
homebrew = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user