add vm guest config on guix

This commit is contained in:
Cyryl Płotnicki 2021-06-19 00:51:06 +01:00
parent d482489c1b
commit a7ad59ff9b

View file

@ -10,6 +10,7 @@
(use-modules (gnu packages ssh)) (use-modules (gnu packages ssh))
(use-service-modules desktop networking ssh xorg) (use-service-modules desktop networking ssh xorg)
(use-service-modules spice)
(define %xorg-libinput-config (define %xorg-libinput-config
"Section \"InputClass\" "Section \"InputClass\"
@ -60,10 +61,12 @@ EndSection
(services (services
(append (append
(list (service gnome-desktop-service-type) (list (service gnome-desktop-service-type)
(spice-vdagent-service)
(set-xorg-configuration (set-xorg-configuration
(xorg-configuration (xorg-configuration
(keyboard-layout keyboard-layout) (keyboard-layout keyboard-layout)
(extra-config (list %xorg-libinput-config))))) (extra-config (list %xorg-libinput-config))))
)
%desktop-services)) %desktop-services))
(bootloader (bootloader
(bootloader-configuration (bootloader-configuration