1 ;; This is an operating system configuration template
2 ;; for a "bare bones" setup, with no X11 display server.
5 (use-service-modules networking ssh)
6 (use-package-modules admin)
11 (locale "en_US.UTF-8")
13 ;; Assuming /dev/sdX is the target hard disk, and "my-root" is
14 ;; the label of the target root file system.
15 (bootloader (grub-configuration (device "/dev/sda")))
16 (file-systems (cons (file-system
23 ;; This is where user accounts are specified. The "root"
24 ;; account is implicit, and is initially created with the
26 (users (cons (user-account
28 (comment "James Richardson")
31 ;; Adding the account to the "wheel" group
32 ;; makes it a sudoer. Adding it to "audio"
33 ;; and "video" allows the user to play sound
34 ;; and access the webcam.
35 (supplementary-groups '("wheel"
37 (home-directory "/home/james"))
40 ;; Globally-installed packages.
41 (packages (cons tcpdump %base-packages))
43 ;; Add services to the baseline: a DHCP client and
45 (services (cons* (dhcp-client-service)
46 (lsh-service #:port-number 2222)