Include the channel file for the current generation

pull/5/head
David Wilson 2021-06-05 12:58:12 -07:00
parent bb6aac054d
commit 431d9d10c9
1 changed files with 10 additions and 1 deletions

View File

@ -16,9 +16,10 @@
;;; along with this program. If not, see <https://www.gnu.org/licenses/>.
;; Generate a bootable image (e.g. for USB sticks, etc.) with:
;; $ guix system disk-image nongnu/system/install.scm
;; $ guix system image -t iso9660 installer.scm
(define-module (nongnu system install)
#:use-module (gnu services)
#:use-module (gnu system)
#:use-module (gnu system install)
#:use-module (gnu packages version-control)
@ -29,6 +30,7 @@
#:use-module (gnu packages mtools)
#:use-module (gnu packages package-management)
#:use-module (nongnu packages linux)
#:use-module (guix)
#:export (installation-os-nonfree))
(define installation-os-nonfree
@ -42,6 +44,13 @@
;; wpa_supplicant when you try to connect to a wifi network.
(kernel-arguments '("quiet" "modprobe.blacklist=radeon" "net.ifnames=0"))
(services
(cons*
;; Include the channel file so that it can be used during installation
(simple-service 'channel-file etc-service-type
(list `("channels.scm" ,(local-file "channels.scm"))))
(operating-system-user-services installation-os)))
;; Add some extra packages useful for the installation process
(packages
(append (list git curl stow vim emacs-no-x-toolkit)