Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
RAMET Pierre
guix-hpc
Commits
9ccd5beb
Commit
9ccd5beb
authored
Oct 06, 2020
by
Ludovic Courtès
Browse files
README: Spice up the text.
* README.md (Pre-built binaries): Add markup, indent service example.
parent
737a3fb6
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
9ccd5beb
...
...
@@ -72,24 +72,25 @@ with this repository.
systemctl restart guix-daemon.service
```
On
g
uix
s
ystem itself, services are handled
with s
hepherd. You can for
instance declare a customized list of services %my-service (here derived
from %desktop-services but you may want to derive it from %base-services on
a server-only system) in your /etc/config.scm configuration file:
On
G
uix
S
ystem itself, services are handled
by the S
hepherd.
You can for
instance declare a customized list of services
`
%my-service
`
(here derived
from
`
%desktop-services
`
but you may want to derive it from
`
%base-services
`
on
a server-only system) in your
`
/etc/config.scm
`
configuration file:
```
```
scheme
(
define
%my-services
(modify-services %desktop-services
(guix-service-type config =>
(guix-configuration
(inherit config)
(substitute-urls '("https://ci.guix.gnu.org" "https://guix.bordeaux.inria.fr"))))))
(
modify-services
%desktop-services
(
guix-service-type
config
=>
(
guix-configuration
(
inherit
config
)
(
substitute-urls
'
(
"https://ci.guix.gnu.org"
"https://guix.bordeaux.inria.fr"
))))))
```
These customized services can then be used in the declaration of your
operating system further in the same /etc/config.scm configuration file:
```
```
scheme
(operating-system
;; ...
(services %my-services)
...
...
@@ -101,7 +102,7 @@ with this repository.
only, you will likely append typical additional services you use to it,
such as in the following example:
```
```
scheme
(services
(append
(list (service gnome-desktop-service-type)
...
...
@@ -114,7 +115,7 @@ with this repository.
%my-services))
```
Once the /etc/config.scm has been set up, the system can be reconfigured:
Once the
`
/etc/config.scm
`
has been set up, the system can be reconfigured:
```
sudo guix system reconfigure /etc/config.scm
```
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment