| 1 | (use-modules (gnu home)
|
| 2 | (gnu home services)
|
| 3 | (gnu home services shells)
|
| 4 | (gnu services)
|
| 5 | (gnu packages admin)
|
| 6 | (guix gexp))
|
| 7 |
|
| 8 |
|
| 9 | (home-environment
|
| 10 | (packages (list htop))
|
| 11 | (services
|
| 12 | (append (list
|
| 13 | (service home-bash-service-type
|
| 14 | (home-bash-configuration
|
| 15 | (guix-defaults? #t)
|
| 16 | (variables
|
| 17 | `(("HISTFILE" . "$XDG_CACHE_HOME/.bash_history")
|
| 18 | ("HISTSIZE" . "50000")))))
|
| 19 |
|
| 20 | (simple-service 'test-config
|
| 21 | home-xdg-configuration-files-service-type
|
| 22 | (list `("test.conf"
|
| 23 | ,(plain-file "tmp-file.txt"
|
| 24 | "the content of
|
| 25 | ~/.config/test.conf")))))
|
| 26 | %base-home-services)))
|
| 27 |
|