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