1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2025-03-13 20:30:02 +00:00

Fix indent of line added to sudo file

Co-authored-by: Peter Esselius <esselius@users.noreply.github.com>
This commit is contained in:
Malo Bourgon 2021-02-15 10:57:04 -08:00
parent 6e8bc5e740
commit e5f24e97a7

View file

@ -24,7 +24,7 @@ let
# Enable sudo Touch ID authentication, if not already enabled
if ! grep 'pam_tid.so' ${file} > /dev/null; then
sed -i "" '2i\
auth sufficient pam_tid.so # nix-darwin: ${option}
auth sufficient pam_tid.so # nix-darwin: ${option}
' ${file}
fi
'' else ''