mirror of
https://github.com/nix-community/home-manager
synced 2024-11-13 22:59:44 +01:00
274bd470a5
The nix-gc service runs automatically at a specified frequency. It is managed via launchd on macOS and systemd on Linux.
24 lines
No EOL
604 B
Text
24 lines
No EOL
604 B
Text
<?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> |