disarchive-manifest: Exclude the Chromium tarball.
[jackhill/guix/guix.git] / etc / guix-gc.service.in
CommitLineData
5c4fd770
TJB
1# This is a "service unit file" for the systemd init system to perform a
2# one-shot 'guix gc' operation. It is meant to be triggered by a timer.
3# Drop it in /etc/systemd/system or similar together with 'guix-gc.timer'
4# to set it up.
5
6[Unit]
7Description=Discard unused Guix store items
8
9[Service]
10Type=oneshot
11# Customize the 'guix gc' arguments to fit your needs.
12ExecStart=@localstatedir@/guix/profiles/per-user/root/current-guix/bin/guix gc -d 1m -F 10G
13PrivateDevices=yes
14PrivateNetwork=yes
15PrivateUsers=no
16ProtectKernelTunables=yes
17ProtectKernelModules=yes
18ProtectControlGroups=yes
19MemoryDenyWriteExecute=yes
20SystemCallFilter=@default @file-system @basic-io @system-service