civodul pushed a commit to branch master
in repository guix.

commit d859d8873ceb3c591210968cfd4c88e26fc89edc
Author: Andrew Tropin <[email protected]>
AuthorDate: Fri Jun 10 10:08:24 2022 +0300

    doc: Update example of a minimalistic home environment.
    
    * doc/he-config-bare-bones.scm: Adujst example according to changes in
    bash-service-type and home-files-service-type.
    
    Signed-off-by: Ludovic Courtès <[email protected]>
---
 doc/he-config-bare-bones.scm | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/doc/he-config-bare-bones.scm b/doc/he-config-bare-bones.scm
index d2e4736e29..f948d85277 100644
--- a/doc/he-config-bare-bones.scm
+++ b/doc/he-config-bare-bones.scm
@@ -13,12 +13,13 @@
    (service home-bash-service-type
             (home-bash-configuration
              (guix-defaults? #t)
-             (bash-profile '("\
-export HISTFILE=$XDG_CACHE_HOME/.bash_history"))))
+             (bash-profile (list (plain-file "bash-profile" "\
+export HISTFILE=$XDG_CACHE_HOME/.bash_history")))))
 
    (simple-service 'test-config
-                   home-files-service-type
-                   (list `("config/test.conf"
+                   home-xdg-configuration-files-service-type
+                   (list `("test.conf"
                            ,(plain-file "tmp-file.txt"
-                                        "the content of 
~/.config/test.conf")))))))
+                                        "the content of
+                                          ~/.config/test.conf")))))))
 

Reply via email to