summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiacomo Leidi <therewasa@fishinthecalculator.me>2025-11-15 11:48:13 +0100
committerGiacomo Leidi <therewasa@fishinthecalculator.me>2026-02-21 00:34:33 +0100
commitf7b8fbb504094ad617c7102579559efcc56db5fb (patch)
tree799426c0d14ed9626f893014ee39af13c01ea40f
parentb18d42fd0b59d3e79a589ebca1258ac4a99c04fd (diff)
home: services: Add home-gc-root-service-type.
* gnu/home/services.scm (home-gc-root-service-type): New variable. Merges: https://codeberg.org/guix/guix/pulls/4236 Change-Id: I648068fc005a993b9527ed13ae87470c5ce9b693
-rw-r--r--gnu/home/services.scm10
1 files changed, 10 insertions, 0 deletions
diff --git a/gnu/home/services.scm b/gnu/home/services.scm
index 2e51a983cbd..6c26afafc42 100644
--- a/gnu/home/services.scm
+++ b/gnu/home/services.scm
@@ -3,6 +3,7 @@
;;; Copyright © 2021 Xinglu Chen <public@yoctocell.xyz>
;;; Copyright © 2022-2023, 2025 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2023 Carlo Zancanaro <carlo@zancanaro.id.au>
+;;; Copyright © 2025 Giacomo Leidi <therewasa@fishinthecalculator.me>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -51,6 +52,7 @@
home-activation-service-type
home-run-on-change-service-type
home-provenance-service-type
+ home-gc-root-service-type
literal-string
literal-string?
@@ -759,6 +761,14 @@ environment, and its configuration file, when available.")))
;;;
+;;; Garbage collector roots.
+;;;
+
+(define home-gc-root-service-type
+ (system->home-service-type gc-root-service-type))
+
+
+;;;
;;; Searching
;;;