diff --git a/nix/base-system/zshrc b/nix/base-system/zshrc index 2400746..738ab2f 100644 --- a/nix/base-system/zshrc +++ b/nix/base-system/zshrc @@ -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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"