Commit | Line | Data |
---|---|---|
1dac8566 LC |
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 | |
b756d3da LC |
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")) | |
1dac8566 | 34 | (home-directory "/home/alice"))))) |