summary refs log tree commit diff
path: root/gnu/system/examples/desktop.tmpl
diff options
context:
space:
mode:
authorLaura Lazzati <laura.lazzati.15@gmail.com>2018-12-02 21:48:19 -0300
committerDanny Milosavljevic <dannym@scratchpost.org>2018-12-03 14:27:24 +0100
commitb9914c479445a85b2caf284c50f8a242f0f8f0bd (patch)
treed1c2a1fd44151ca75043fc43f2a01da2b2a065d6 /gnu/system/examples/desktop.tmpl
parentb8ca5b3146f94785c4e54ade1f64dc783a9b1a85 (diff)
downloadguix-b9914c479445a85b2caf284c50f8a242f0f8f0bd.tar.gz
doc: Fix "desktop" OS config example.
* gnu/system/examples/desktop.tmpl (file-systems): Add
'file-system-label' call in 'device' field.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
Diffstat (limited to 'gnu/system/examples/desktop.tmpl')
-rw-r--r--gnu/system/examples/desktop.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/system/examples/desktop.tmpl b/gnu/system/examples/desktop.tmpl
index ea21e1df66..1b8d46afaf 100644
--- a/gnu/system/examples/desktop.tmpl
+++ b/gnu/system/examples/desktop.tmpl
@@ -26,7 +26,7 @@
           (type luks-device-mapping))))
 
   (file-systems (cons (file-system
-                        (device "my-root")
+                        (device (file-system-label "my-root"))
                         (mount-point "/")
                         (type "ext4")
                         (dependencies mapped-devices))