aboutsummaryrefslogtreecommitdiff
path: root/etc/guix-gc.service.in
blob: 2f1ca6584bbcef9e53d211023d397704285d8269 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# This is a "service unit file" for the systemd init system to perform a
# one-shot 'guix gc' operation.  It is meant to be triggered by a timer.
# Drop it in /etc/systemd/system or similar together with 'guix-gc.timer'
# to set it up.

[Unit]
Description=Discard unused Guix store items

[Service]
Type=oneshot
# Customize the 'guix gc' arguments to fit your needs.
ExecStart=@localstatedir@/guix/profiles/per-user/root/current-guix/bin/guix gc -d 1m -F 10G
PrivateDevices=yes
PrivateNetwork=yes
PrivateUsers=no
ProtectKernelTunables=yes
ProtectKernelModules=yes
ProtectControlGroups=yes
MemoryDenyWriteExecute=yes
SystemCallFilter=@default @file-system @basic-io @system-service
up...yarl-baudig@mailoo.org 2022-01-18daemon: Always default to gzip for log compression....Ludovic Courtès 2021-11-27daemon: Print the line whence we expect an integer....Tobias Geerinckx-Rice 2021-11-25daemon: Read substitute nar size as 'unsigned long long'....Ludovic Courtès 2021-11-25daemon: Read unsigned nar size and download size from substituter....Ludovic Courtès 2021-11-16daemon: Do not deduplicate files smaller than 8 KiB....Ludovic Courtès 2021-04-09daemon: 'guix substitute' replies on FD 4....Ludovic Courtès 2021-03-18daemon: Prevent privilege escalation with '--keep-failed' [security]....Ludovic Courtès 2020-12-19daemon: Delegate deduplication to 'guix substitute'....Ludovic Courtès 2020-12-19daemon: Do not reset timestamps and permissions on substituted items....Ludovic Courtès 2020-12-19daemon: Let 'guix substitute' perform hash checks....Ludovic Courtès 2020-12-08daemon: Raise an error if substituter doesn't send the expected hash....Ludovic Courtès 2020-12-08substitute: Cache and reuse connections while substituting....Ludovic Courtès 2020-12-08daemon: Run 'guix substitute --substitute' as an agent....Ludovic Courtès 2020-12-08daemon: Factorize substituter agent spawning....Ludovic Courtès 2020-12-08daemon: Use 'Agent' to spawn 'guix substitute --query'....Ludovic Courtès 2020-12-01daemon: Remove unneeded forward declaration....Ludovic Courtès 2020-11-29daemon: Remove pre-Guix hack....Ludovic Courtès 2020-10-09nix: Honor '--rounds' when also using '--check'....Maxim Cournoyer 2020-10-01daemon: Try to execute derivation builders only for matching OS kernels....Ludovic Courtès 2020-09-14daemon: Spawn 'guix authenticate' once for all....Ludovic Courtès 2020-09-14daemon: Move 'Agent' to libutil....Ludovic Courtès 2020-09-14daemon: Isolate signing and signature verification functions....Ludovic Courtès 2020-09-14daemon: Generalize 'HookInstance' to 'Agent'....Ludovic Courtès 2020-09-11daemon: Simplify interface with 'guix authenticate'....Ludovic Courtès