mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 22:38:07 -05:00
d859d8873c
* 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>
25 lines
783 B
Scheme
25 lines
783 B
Scheme
(use-modules (gnu home)
|
|
(gnu home services)
|
|
(gnu home services shells)
|
|
(gnu services)
|
|
(gnu packages admin)
|
|
(guix gexp))
|
|
|
|
|
|
(home-environment
|
|
(packages (list htop))
|
|
(services
|
|
(list
|
|
(service home-bash-service-type
|
|
(home-bash-configuration
|
|
(guix-defaults? #t)
|
|
(bash-profile (list (plain-file "bash-profile" "\
|
|
export HISTFILE=$XDG_CACHE_HOME/.bash_history")))))
|
|
|
|
(simple-service 'test-config
|
|
home-xdg-configuration-files-service-type
|
|
(list `("test.conf"
|
|
,(plain-file "tmp-file.txt"
|
|
"the content of
|
|
~/.config/test.conf")))))))
|
|
|