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))
51 ;; The <installer> record contains pages that will be run to prompt the user
52 ;; for the system configuration. The goal of the installer is to produce a
53 ;; complete <operating-system> record and install it.
55 (define-record-type* <installer>
56 installer make-installer
60 ;; procedure: void -> void
62 ;; procedure: void -> void
64 ;; procedure (key arguments) -> void
65 (exit-error installer-exit-error)
66 ;; procedure void -> void
67 (final-page installer-final-page)
68 ;; procedure (layouts context) -> (list layout variant options)
69 (keymap-page installer-keymap-page)
70 ;; procedure: (#:key supported-locales iso639-languages iso3166-territories)
72 (locale-page installer-locale-page)
73 ;; procedure: (steps) -> step-id
74 (menu-page installer-menu-page)
75 ;; procedure void -> void
76 (network-page installer-network-page)
77 ;; procedure void -> void
78 (substitutes-page installer-substitutes-page)
79 ;; procedure (zonetab) -> posix-timezone
80 (timezone-page installer-timezone-page)
81 ;; procedure void -> void
82 (hostname-page installer-hostname-page)
83 ;; procedure void -> void
84 (user-page installer-user-page)
85 ;; procedure void -> void
86 (partition-page installer-partition-page)
87 ;; procedure void -> void
88 (services-page installer-services-page)
89 ;; procedure (logo) -> void
90 (welcome-page installer-welcome-page)
91 ;; procedure (menu-proc) -> void
92 (parameters-menu installer-parameters-menu)
93 ;; procedure (keyboard-layout-selection) -> void
94 (parameters-page installer-parameters-page))