1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2018, 2020 Mathieu Othacehe <m.othacehe@gmail.com>
3 ;;; Copyright © 2020 Florian Pelz <pelzflorian@pelzflorian.de>
5 ;;; This file is part of GNU Guix.
7 ;;; GNU Guix is free software; you can redistribute it and/or modify it
8 ;;; under the terms of the GNU General Public License as published by
9 ;;; the Free Software Foundation; either version 3 of the License, or (at
10 ;;; your option) any later version.
12 ;;; GNU Guix is distributed in the hope that it will be useful, but
13 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
14 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 ;;; GNU General Public License for more details.
17 ;;; You should have received a copy of the GNU General Public License
18 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
20 (define-module (gnu installer record)
21 #:use-module (guix records)
22 #:use-module (srfi srfi-1)
35 installer-network-page
36 installer-substitutes-page
37 installer-timezone-page
38 installer-hostname-page
40 installer-partition-page
41 installer-services-page
42 installer-welcome-page
43 installer-parameters-menu
44 installer-parameters-page
52 ;; The <installer> record contains pages that will be run to prompt the user
53 ;; for the system configuration. The goal of the installer is to produce a
54 ;; complete <operating-system> record and install it.
56 (define-record-type* <installer>
57 installer make-installer
61 ;; procedure: void -> void
63 ;; procedure: void -> void
65 ;; procedure (key arguments) -> void
66 (exit-error installer-exit-error)
67 ;; procedure void -> void
68 (final-page installer-final-page)
69 ;; procedure (layouts context) -> (list layout variant options)
70 (keymap-page installer-keymap-page)
71 ;; procedure: (#:key supported-locales iso639-languages iso3166-territories)
73 (locale-page installer-locale-page)
74 ;; procedure: (steps) -> step-id
75 (menu-page installer-menu-page)
76 ;; procedure void -> void
77 (network-page installer-network-page)
78 ;; procedure void -> void
79 (substitutes-page installer-substitutes-page)
80 ;; procedure (zonetab) -> posix-timezone
81 (timezone-page installer-timezone-page)
82 ;; procedure void -> void
83 (hostname-page installer-hostname-page)
84 ;; procedure void -> void
85 (user-page installer-user-page)
86 ;; procedure void -> void
87 (partition-page installer-partition-page)
88 ;; procedure void -> void
89 (services-page installer-services-page)
90 ;; procedure (logo) -> void
91 (welcome-page installer-welcome-page)
92 ;; procedure (menu-proc) -> void
93 (parameters-menu installer-parameters-menu)
94 ;; procedure (keyboard-layout-selection) -> void
95 (parameters-page installer-parameters-page)
96 ;; procedure (dump) -> void
97 (dump-page installer-dump-page))