- Only keep the 10 last profile paths
- To clean old created profile paths, you can run:
comm -3 <(find /nix/var/nix/profiles/system-profiles/ -name 'comin-*' -type l | sort -u) <(cat /var/lib/comin/store.json | jq '.deployments[].profile_path | select(.!="")' -r | sort -u) | xargs rm
- To clean old created profile paths, you can run: