From 52c361318f405a69bcb5e7f6a98b058edebb822a Mon Sep 17 00:00:00 2001 From: Ross Date: Fri, 27 Sep 2024 13:44:57 +0200 Subject: [PATCH] setup: install/pull ollama models --- setup_all.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/setup_all.sh b/setup_all.sh index e24bf4c..4b04f60 100755 --- a/setup_all.sh +++ b/setup_all.sh @@ -559,6 +559,7 @@ declare -a systemd_units=( /usr/lib/systemd/system/bluetooth.service /usr/lib/systemd/system/clamav-freshclam-once.timer /usr/lib/systemd/system/ly.service + /usr/lib/systemd/system/ollama.service /usr/lib/systemd/system/pcscd.socket /usr/lib/systemd/system/smartd.service /usr/lib/systemd/system/swayosd-libinput-backend.service @@ -592,6 +593,13 @@ rustup component add clippy rustfmt || { sudo update-smart-drivedb +declare -a systemd_units=( +) +ollama pull llama3.2 || { + echo "failed to install llama3.2" + exit 1 +} + corectrl_rules_path=/etc/polkit-1/rules.d/90-corectrl.rules if ! sudo test -f "${corectrl_rules_path}"; then echo "Setting up polkit for Corectrl"