blob: ca3c98ca8bb7c2854dced615898edb883ce5b6ee (
about) (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# Learning Guix Home
Today I just learnt to use
```
guix home
```
command to reconfigure my home environment with functional package manager in Guix. I written this script on my UNIX Tilde account.
```
(use-modules ((gnu home) #:select (home-environment))
((gnu home services) #:select
(home-files-service-type service))
((gnu home services shells) #:select
(home-bash-configuration home-bash-service-type))
((gnu system shadow) #:select (%default-dotguile))
((guix gexp) #:select (file-append gexp local-file plain-file)))
(home-environment
(services
(list
(service home-bash-service-type
(home-bash-configuration
(bash-profile (list (plain-file
"bash_ps1"
"export PS1=\"\n↓← $PS1\n→ \"")))))
(service home-files-service-type
`((".guile" ,%default-dotguile))))))
```
I written it in home-config.scm and then I run
```
guix home reconfigure home-config.scm
```
Now I having better bash shell which taking less characters, so I can write more command in one line.
## Mine currently working
I am currently working to serving Minetest Server on Tilde Server. I installed it by
```
guix shell minetest
```
and I will to write about in mine next blog post.
=> /~abdul/index.gmi back into blog index
|