guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/06: doc: Update example of a minimalistic home environment.


From: guix-commits
Subject: 01/06: doc: Update example of a minimalistic home environment.
Date: Fri, 10 Jun 2022 17:56:28 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit d859d8873ceb3c591210968cfd4c88e26fc89edc
Author: Andrew Tropin <andrew@trop.in>
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 <ludo@gnu.org>
---
 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

[Prev in Thread] Current Thread [Next in Thread]