me
/
guix
Archived
1
0
Fork 0

gnu: system: Add SPICE capability to the VM image.

* gnu/system/examples/vm-image.tmpl (services)
[spice-vdagent-service-type]: Add service.
[slim-service-type] <xorg-configuration>: Add the xf86-video-qxl module.
master
Maxim Cournoyer 2021-05-05 12:07:39 -04:00
parent b39c4e18f2
commit 3ab48ed6cd
No known key found for this signature in database
GPG Key ID: 1260E46482E63562
1 changed files with 10 additions and 1 deletions

View File

@ -5,7 +5,7 @@
;; ;;
(use-modules (gnu) (guix) (srfi srfi-1)) (use-modules (gnu) (guix) (srfi srfi-1))
(use-service-modules desktop networking ssh xorg) (use-service-modules desktop networking spice ssh xorg)
(use-package-modules bootloaders certs fonts nvi (use-package-modules bootloaders certs fonts nvi
package-management wget xorg) package-management wget xorg)
@ -75,11 +75,20 @@ root ALL=(ALL) ALL
(default-user "guest") (default-user "guest")
(xorg-configuration (xorg-configuration
(xorg-configuration (xorg-configuration
;; The QXL virtual GPU driver is added to provide
;; a better SPICE experience.
(modules (cons xf86-video-qxl
%default-xorg-modules))
(keyboard-layout keyboard-layout))))) (keyboard-layout keyboard-layout)))))
;; Uncomment the line below to add an SSH server. ;; Uncomment the line below to add an SSH server.
;;(service openssh-service-type) ;;(service openssh-service-type)
;; Add support for the SPICE protocol, which enables dynamic
;; resizing of the guest screen resolution, clipboard
;; integration with the host, etc.
(service spice-vdagent-service-type)
;; Use the DHCP client service rather than NetworkManager. ;; Use the DHCP client service rather than NetworkManager.
(service dhcp-client-service-type)) (service dhcp-client-service-type))