From c2396ceb6eb30ac87755eb8b39583403b35fbd12 Mon Sep 17 00:00:00 2001 From: Mathieu Othacehe Date: Sat, 7 Nov 2020 18:16:01 +0100 Subject: [PATCH] installer: parameters: Add a reboot button. Suggested by: zimoun . * gnu/installer/newt/parameters.scm (run-parameters-page): Add a reboot button. --- gnu/installer/newt/parameters.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 @@ (define-module (gnu installer newt parameters) #: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 @@ (define (run-parameters-page keyboard-layout-selection) (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 \