Skip to content

add daily nix cleanup workflow #1

add daily nix cleanup workflow

add daily nix cleanup workflow #1

on:
pull_request:
workflow_dispatch:
schedule:
- cron: '0 5 * * *'
name: Clean up nix on mac mini m1
jobs:
clean-mac-mini-arm64:
runs-on: [self-hosted, macOS, ARM64]
timeout-minutes: 120
steps:
- name: Clean up nix store
run: nix-store --gc
- name: Clean up old nix shells
run: rm -rf /private/tmp/nix-shell.*