feat: Add a helper to restart durnitisp

This commit is contained in:
Jeremy Wall 2025-04-11 14:37:27 -04:00
parent 72204b9817
commit 13de7d5a88

View File

@ -42,6 +42,12 @@ function disk_usage() {
/run/current-system/sw/bin/du --max-depth=1 -h "${path}" 2>/dev/null
}
# TODO(zaphar): Figure out why this thing doesn't come up or dies
function restart_durnitisp() {
sudo launchctl bootout system/org.nixos.durnitisp
sudo launchctl bootstrap system /Library/LaunchDaemons/org.nixos.durnitisp.plist org.nixos.durnitisp
}
eval "$(direnv hook zsh)"
export ANTHROPIC_API_KEY="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"