Merge branch 'core-updates'
[jackhill/guix/guix.git] / gnu / system / os-config.tmpl
1 ;; This is an operating system configuration template.
2
3 (use-modules (gnu))
4
5 (operating-system
6 (host-name "antelope")
7 (timezone "Europe/Paris")
8 (locale "en_US.UTF-8")
9
10 ;; Assuming /dev/sdX is the target hard disk, and "root" is
11 ;; the label of the target root file system.
12 (bootloader (grub-configuration (device "/dev/sdX")))
13 (file-systems (cons (file-system
14 (device "root")
15 (title 'label)
16 (mount-point "/")
17 (type "ext4"))
18 %base-file-systems))
19
20 ;; This is where user accounts are specified. The "root"
21 ;; account is implicit, and is initially created with the
22 ;; empty password.
23 (users (list (user-account
24 (name "alice")
25 (comment "Bob's sister")
26 (group "users")
27
28 ;; Adding the account to the "wheel" group
29 ;; makes it a sudoer. Adding it to "audio"
30 ;; and "video" allows the user to play sound
31 ;; and access the webcam.
32 (supplementary-groups '("wheel"
33 "audio" "video"))
34 (home-directory "/home/alice")))))