summaryrefslogtreecommitdiff
path: root/gnu/services.scm
diff options
context:
space:
mode:
authorAndrew Tropin <andrew@trop.in>2023-05-16 17:53:36 +0400
committerAndrew Tropin <andrew@trop.in>2023-05-16 19:45:27 +0400
commit66ecffbeba0685ff2f1071db8aeb2393986afb97 (patch)
treec432f89a8d37ef64e9a217b8d146f6ae7a28cfc9 /gnu/services.scm
parent8659f5e3ee1872da0a853ca6f839eb6f90e10c3d (diff)
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.
Diffstat (limited to 'gnu/services.scm')
-rw-r--r--gnu/services.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/services.scm b/gnu/services.scm
index d6c7ad0553a..31eba9f035a 100644
--- a/gnu/services.scm
+++ b/gnu/services.scm
@@ -403,6 +403,7 @@ directory."
403 boot-script-entry))) 403 boot-script-entry)))
404 (compose identity) 404 (compose identity)
405 (extend compute-boot-script) 405 (extend compute-boot-script)
406 (default-value #f)
406 (description 407 (description
407 "Produce the operating system's boot script, which is spawned 408 "Produce the operating system's boot script, which is spawned
408by the initrd once the root file system is mounted."))) 409by the initrd once the root file system is mounted.")))
@@ -661,6 +662,7 @@ system directory."
661 activation-profile-entry))) 662 activation-profile-entry)))
662 (compose identity) 663 (compose identity)
663 (extend second-argument) 664 (extend second-argument)
665 (default-value #f)
664 (description 666 (description
665 "Run @dfn{activation} code at boot time and upon 667 "Run @dfn{activation} code at boot time and upon
666@command{guix system reconfigure} completion."))) 668@command{guix system reconfigure} completion.")))
@@ -803,6 +805,7 @@ directory."
803 (service-extension system-service-type etc-entry))) 805 (service-extension system-service-type etc-entry)))
804 (compose concatenate) 806 (compose concatenate)
805 (extend append) 807 (extend append)
808 (default-value '())
806 (description "Populate the @file{/etc} directory."))) 809 (description "Populate the @file{/etc} directory.")))
807 810
808(define-deprecated (etc-service files) 811(define-deprecated (etc-service files)
@@ -869,6 +872,7 @@ executables, making them setuid and/or setgid.")))
869 packages->profile-entry))) 872 packages->profile-entry)))
870 (compose concatenate) 873 (compose concatenate)
871 (extend append) 874 (extend append)
875 (default-value '())
872 (description 876 (description
873 "This is the @dfn{system profile}, available as 877 "This is the @dfn{system profile}, available as
874@file{/run/current-system/profile}. It contains packages that the sysadmin 878@file{/run/current-system/profile}. It contains packages that the sysadmin