aboutsummaryrefslogtreecommitdiff
path: root/gnu/services/spice.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/services/spice.scm')
-rw-r--r--gnu/services/spice.scm20
1 files changed, 11 insertions, 9 deletions
diff --git a/gnu/services/spice.scm b/gnu/services/spice.scm
index fd85dc234f..a2aee4ab2a 100644
--- a/gnu/services/spice.scm
+++ b/gnu/services/spice.scm
@@ -38,7 +38,7 @@
"Return the activation gexp for CONFIG."
#~(begin
(use-modules (guix build utils))
- (mkdir-p "/var/run/spice-vdagentd")))
+ (mkdir-p "/run/spice-vdagentd")))
(define (spice-vdagent-shepherd-service config)
"Return a <shepherd-service> for spice-vdagentd with CONFIG."
@@ -61,14 +61,16 @@
(compose list spice-vdagent-configuration-spice-vdagent))
(define spice-vdagent-service-type
- (service-type (name 'spice-vdagent)
- (extensions
- (list (service-extension shepherd-root-service-type
- spice-vdagent-shepherd-service)
- (service-extension activation-service-type
- spice-vdagent-activation)
- (service-extension profile-service-type
- spice-vdagent-profile)))))
+ (service-type
+ (name 'spice-vdagent)
+ (default-value (spice-vdagent-configuration))
+ (extensions
+ (list (service-extension shepherd-root-service-type
+ spice-vdagent-shepherd-service)
+ (service-extension activation-service-type
+ spice-vdagent-activation)
+ (service-extension profile-service-type
+ spice-vdagent-profile)))))
(define* (spice-vdagent-service
#:optional (config (spice-vdagent-configuration)))