diff options
author | Mathieu Othacehe <othacehe@gnu.org> | 2020-11-07 18:16:01 +0100 |
---|---|---|
committer | Mathieu Othacehe <othacehe@gnu.org> | 2020-11-07 18:17:32 +0100 |
commit | c2396ceb6eb30ac87755eb8b39583403b35fbd12 (patch) | |
tree | 78e862a19e69629c7e23081f894501281a4f869a /gnu | |
parent | 2c734548fd7181f038252fbca36a06c9418cca87 (diff) | |
download | guix-c2396ceb6eb30ac87755eb8b39583403b35fbd12.tar guix-c2396ceb6eb30ac87755eb8b39583403b35fbd12.tar.gz |
installer: parameters: Add a reboot button.
Suggested by: zimoun <zimon.toutoune@gmail.com>.
* gnu/installer/newt/parameters.scm (run-parameters-page): Add a reboot
button.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/installer/newt/parameters.scm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/installer/newt/parameters.scm b/gnu/installer/newt/parameters.scm index 95112b5780..8fb1aa3abb 100644 --- a/gnu/installer/newt/parameters.scm +++ b/gnu/installer/newt/parameters.scm @@ -20,6 +20,7 @@ #:use-module (gnu installer proxy) #:use-module (gnu installer steps) #:use-module (gnu installer newt page) + #:use-module (guix build syscalls) #:use-module (guix i18n) #:use-module (ice-9 match) #:use-module (newt) @@ -40,7 +41,8 @@ empty string, proxy usage will be disabled.") (let* ((items (list (cons (G_ "Change keyboard layout") keyboard-layout-selection) - (cons (G_ "Configure HTTP proxy") run-proxy-page))) + (cons (G_ "Configure HTTP proxy") run-proxy-page) + (cons (G_ "Reboot") reboot))) (result (run-listbox-selection-page #:info-text (G_ "Please choose one of the following parameters or \ |