desktop: configure libvirt/qemu
* .guix/rekahsoft/guix-config/desktop.scm: Use tianocore firmware from ovmf package in the (gnu packages firmware) module in order to generate libvirt/qemu.conf to enable booting using uefi firmware. Additionally, stdio_handler is set to file, as without it vm's could not e created.
This commit is contained in:
parent
9e83693a11
commit
5f71b375fd
@ -3,6 +3,7 @@
|
||||
#:use-module (gnu system nss)
|
||||
#:use-module (gnu packages gnome)
|
||||
#:use-module (gnu packages linux)
|
||||
#:use-module (gnu packages firmware)
|
||||
#:use-module (gnu packages wm)
|
||||
#:use-module (gnu packages shells)
|
||||
#:use-module (gnu services virtualization)
|
||||
@ -41,6 +42,14 @@
|
||||
(service qemu-binfmt-service-type
|
||||
(qemu-binfmt-configuration
|
||||
(platforms (lookup-qemu-platforms "arm" "aarch64"))))
|
||||
|
||||
(simple-service 'libvirt-configuration etc-service-type
|
||||
(list `("libvirt/qemu.conf" ,(mixed-text-file "qemu.conf"
|
||||
"stdio_handler=\"file\"\n"
|
||||
"nvram = [\n"
|
||||
" \"" ovmf "/share/firmware/ovmf_x64.bin:" ovmf "/share/firmware/ovmf_vars_x64.bin\"\n"
|
||||
"]\n"))))
|
||||
|
||||
(service screen-locker-service-type
|
||||
(screen-locker-configuration
|
||||
(name "i3lock")
|
||||
|
Loading…
Reference in New Issue
Block a user