From 71eb5fc77d44d63e072799a5e628de6fee479807 Mon Sep 17 00:00:00 2001 From: Marek Paśnikowski Date: Wed, 24 Jul 2024 23:34:55 +0200 Subject: feat!(machine): install microcode from nonguix in portable-bios --- machines/portable-bios.scm | 13 +++++++++---- systems/mcdowell.scm | 4 +++- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/machines/portable-bios.scm b/machines/portable-bios.scm index b1a240c..a952773 100644 --- a/machines/portable-bios.scm +++ b/machines/portable-bios.scm @@ -1,8 +1,9 @@ (define-module (machines portable-bios) - #:use-module (gnu bootloader) ; bootloader-configuration - #:use-module (gnu bootloader grub) ; grub-bootloader - #:use-module (gnu system file-systems) ; file-system - #:use-module (nongnu packages linux) ; linux + #:use-module (gnu bootloader) ; bootloader-configuration + #:use-module (gnu bootloader grub) ; grub-bootloader + #:use-module (gnu system file-systems) ; file-system + #:use-module (nongnu packages linux) ; linux + #:use-module (nongnu system linux-initrd) ; microcode-initrd ) ;; bootloader-configuration @@ -24,6 +25,10 @@ (device root-device)))) (list file-system-root))) +;; record package +(define-public initrd* + microcode-initrd) + ;; record package (define-public kernel* linux) diff --git a/systems/mcdowell.scm b/systems/mcdowell.scm index 31c1a90..3853d17 100644 --- a/systems/mcdowell.scm +++ b/systems/mcdowell.scm @@ -1,7 +1,8 @@ (define-module (systems mcdowell) #:use-module (machines portable-bios) ; bootloader-configuration* - ; kernel* ; file-systems* + ; initrd* + ; kernel* #:use-module (suweren system) ; %suweren-operating-system #:use-module (users marekpasnikowski) ; marekpasnikowski-account ) @@ -18,6 +19,7 @@ (define operating-system* (%suweren-operating-system kernel* bootloader-configuration* + initrd* host-name* (file-systems* host-name*) users*)) -- cgit v1.2.3