services: Add default values.

* gnu/services.scm (boot-service-type, activation-service-type,
etc-service-type, profile-service-type): Add default-value.
* gnu/system/shadow.scm (account-service-type): Add default-value.
This commit is contained in:
Andrew Tropin 2023-05-16 17:53:36 +04:00
parent 8659f5e3ee
commit 66ecffbeba
No known key found for this signature in database
GPG Key ID: 2208D20958C1DEB0
2 changed files with 5 additions and 0 deletions

View File

@ -403,6 +403,7 @@ directory."
boot-script-entry)))
(compose identity)
(extend compute-boot-script)
(default-value #f)
(description
"Produce the operating system's boot script, which is spawned
by the initrd once the root file system is mounted.")))
@ -661,6 +662,7 @@ system directory."
activation-profile-entry)))
(compose identity)
(extend second-argument)
(default-value #f)
(description
"Run @dfn{activation} code at boot time and upon
@command{guix system reconfigure} completion.")))
@ -803,6 +805,7 @@ directory."
(service-extension system-service-type etc-entry)))
(compose concatenate)
(extend append)
(default-value '())
(description "Populate the @file{/etc} directory.")))
(define-deprecated (etc-service files)
@ -869,6 +872,7 @@ executables, making them setuid and/or setgid.")))
packages->profile-entry)))
(compose concatenate)
(extend append)
(default-value '())
(description
"This is the @dfn{system profile}, available as
@file{/run/current-system/profile}. It contains packages that the sysadmin

View File

@ -458,6 +458,7 @@ the /etc/skel directory for those."
(const '(user-homes)))
(service-extension etc-service-type
etc-files)))
(default-value #f)
(description
"Ensure the specified user accounts and groups exist, as well
as each account home directory.")))