diff options
| author | Andrew Tropin <andrew@trop.in> | 2023-05-16 17:53:36 +0400 |
|---|---|---|
| committer | Andrew Tropin <andrew@trop.in> | 2023-05-16 19:45:27 +0400 |
| commit | 66ecffbeba0685ff2f1071db8aeb2393986afb97 (patch) | |
| tree | c432f89a8d37ef64e9a217b8d146f6ae7a28cfc9 /gnu | |
| parent | 8659f5e3ee1872da0a853ca6f839eb6f90e10c3d (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')
| -rw-r--r-- | gnu/services.scm | 4 | ||||
| -rw-r--r-- | gnu/system/shadow.scm | 1 |
2 files changed, 5 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 |
| 408 | by the initrd once the root file system is mounted."))) | 409 | by 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 |
diff --git a/gnu/system/shadow.scm b/gnu/system/shadow.scm index 8d428bf743d..4a8cc87f0f1 100644 --- a/gnu/system/shadow.scm +++ b/gnu/system/shadow.scm | |||
| @@ -458,6 +458,7 @@ the /etc/skel directory for those." | |||
| 458 | (const '(user-homes))) | 458 | (const '(user-homes))) |
| 459 | (service-extension etc-service-type | 459 | (service-extension etc-service-type |
| 460 | etc-files))) | 460 | etc-files))) |
| 461 | (default-value #f) | ||
| 461 | (description | 462 | (description |
| 462 | "Ensure the specified user accounts and groups exist, as well | 463 | "Ensure the specified user accounts and groups exist, as well |
| 463 | as each account home directory."))) | 464 | as each account home directory."))) |
