1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

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
This commit is contained in:
Giacomo Leidi
2025-11-15 11:48:13 +01:00
parent b18d42fd0b
commit f7b8fbb504

View File

@@ -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?
@@ -757,6 +759,14 @@ environment, and its configuration file, when available.")))
(define sexp->home-provenance sexp->system-provenance)
(define home-provenance system-provenance)
;;;
;;; Garbage collector roots.
;;;
(define home-gc-root-service-type
(system->home-service-type gc-root-service-type))
;;;
;;; Searching