feat: Add a helper to restart durnitisp
This commit is contained in:
parent
72204b9817
commit
13de7d5a88
@ -42,6 +42,12 @@ function disk_usage() {
|
|||||||
/run/current-system/sw/bin/du --max-depth=1 -h "${path}" 2>/dev/null
|
/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)"
|
eval "$(direnv hook zsh)"
|
||||||
|
|
||||||
export ANTHROPIC_API_KEY="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"
|
export ANTHROPIC_API_KEY="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"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user