mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-01 18:05:17 +00:00
* nix/local.mk (nodist_systemdservice_DATA): Add etc/guix-gc.timer. (etc/guix-gc.timer): Add rule to generate file. (EXTRA_DIST): Add guix-gc.timer.in, remove guix-gc.timer. * gitignore: Add etc/guix-gc.timer. Change-Id: I361aef660fe7d9803f58f4e31e16d8db595d1853
15 lines
362 B
SYSTEMD
15 lines
362 B
SYSTEMD
# This is a "timer unit file" for the systemd init system to trigger
|
|
# 'guix-gc.service' periodically. Drop it in /etc/systemd/system or similar
|
|
# together with 'guix-gc.service' to set it up.
|
|
|
|
[Unit]
|
|
Description=Discard unused Guix store items
|
|
|
|
[Timer]
|
|
OnCalendar=weekly
|
|
AccuracySec=1h
|
|
Persistent=true
|
|
RandomizedDelaySec=6000
|
|
|
|
[Install]
|
|
WantedBy=timers.target
|