274bd470a5
The nix-gc service runs automatically at a specified frequency. It is managed via launchd on macOS and systemd on Linux.
24 lines
604 B
Plaintext
24 lines
604 B
Plaintext
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
<plist version="1.0">
|
|
<dict>
|
|
<key>Label</key>
|
|
<string>org.nix-community.home.nix-gc</string>
|
|
<key>ProgramArguments</key>
|
|
<array>
|
|
<string>@nix@/bin/nix-collect-garbage</string>
|
|
<string>--delete-older-than 30d</string>
|
|
</array>
|
|
<key>StartCalendarInterval</key>
|
|
<array>
|
|
<dict>
|
|
<key>Day</key>
|
|
<integer>1</integer>
|
|
<key>Hour</key>
|
|
<integer>0</integer>
|
|
<key>Minute</key>
|
|
<integer>0</integer>
|
|
</dict>
|
|
</array>
|
|
</dict>
|
|
</plist> |