1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2018 Mathieu Othacehe <m.othacehe@gmail.com>
4 ;;; This file is part of GNU Guix.
6 ;;; GNU Guix is free software; you can redistribute it and/or modify it
7 ;;; under the terms of the GNU General Public License as published by
8 ;;; the Free Software Foundation; either version 3 of the License, or (at
9 ;;; your option) any later version.
11 ;;; GNU Guix is distributed in the hope that it will be useful, but
12 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
13 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 ;;; GNU General Public License for more details.
16 ;;; You should have received a copy of the GNU General Public License
17 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
19 (define-module (gnu installer record)
20 #:use-module (guix records)
21 #:use-module (srfi srfi-1)
33 installer-network-page
34 installer-timezone-page
35 installer-hostname-page
37 installer-welcome-page))
44 ;; The <installer> record contains pages that will be run to prompt the user
45 ;; for the system configuration. The goal of the installer is to produce a
46 ;; complete <operating-system> record and install it.
48 (define-record-type* <installer>
49 installer make-installer
53 ;; procedure: void -> void
55 ;; procedure: void -> void
57 ;; procedure (key arguments) -> void
58 (exit-error installer-exit-error)
59 ;; procedure (#:key models layouts) -> (list model layout variant)
60 (keymap-page installer-keymap-page)
61 ;; procedure: (#:key supported-locales iso639-languages iso3166-territories)
63 (locale-page installer-locale-page)
64 ;; procedure: (steps) -> step-id
65 (menu-page installer-menu-page)
66 ;; procedure void -> void
67 (network-page installer-network-page)
68 ;; procedure (zonetab) -> posix-timezone
69 (timezone-page installer-timezone-page)
70 ;; procedure void -> void
71 (hostname-page installer-hostname-page)
72 ;; procedure void -> void
73 (user-page installer-user-page)
74 ;; procedure (logo) -> void
75 (welcome-page installer-welcome-page))