Message ID | 20210506172732.12294-3-maxim.cournoyer@gmail.com |
---|---|
State | Accepted |
Headers | show |
Series | Enable SPICE for the Guix VM image. | expand |
Context | Check | Description |
---|---|---|
cbaines/comparison | success | View comparision |
cbaines/git branch | success | View Git branch |
cbaines/applying patch | success | View Laminar job |
cbaines/issue | success | View issue |
Hi, Maxim Cournoyer <maxim.cournoyer@gmail.com> writes: > * gnu/system/examples/vm-image.tmpl (services) > [spice-vdagent-service-type]: Add service. > [slim-service-type] <xorg-configuration>: Add the xf86-video-qxl module. > --- > gnu/system/examples/vm-image.tmpl | 11 ++++++++++- > 1 file changed, 10 insertions(+), 1 deletion(-) > > diff --git a/gnu/system/examples/vm-image.tmpl b/gnu/system/examples/vm-image.tmpl > index bcb2ba614c..1a2dfca452 100644 > --- a/gnu/system/examples/vm-image.tmpl > +++ b/gnu/system/examples/vm-image.tmpl > @@ -5,7 +5,7 @@ > ;; > > (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 > package-management wget xorg) > > @@ -75,11 +75,20 @@ root ALL=(ALL) ALL > (default-user "guest") > (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))))) > > ;; Uncomment the line below to add an SSH server. > ;;(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. > (service dhcp-client-service-type)) I've now pushed this series to the version-1.3.0 branch. Thank you, Maxim
diff --git a/gnu/system/examples/vm-image.tmpl b/gnu/system/examples/vm-image.tmpl index bcb2ba614c..1a2dfca452 100644 --- a/gnu/system/examples/vm-image.tmpl +++ b/gnu/system/examples/vm-image.tmpl @@ -5,7 +5,7 @@ ;; (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 package-management wget xorg) @@ -75,11 +75,20 @@ root ALL=(ALL) ALL (default-user "guest") (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))))) ;; Uncomment the line below to add an SSH server. ;;(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. (service dhcp-client-service-type))