1 ;; This is an operating system configuration template
2 ;; for a "desktop" setup with X11.
4 (use-modules (gnu) (gnu system nss))
5 (use-service-modules desktop)
6 (use-package-modules xfce ratpoison wicd avahi xorg)
10 (timezone "Europe/Paris")
11 (locale "en_US.UTF-8")
13 ;; Assuming /dev/sdX is the target hard disk, and "root" is
14 ;; the label of the target root file system.
15 (bootloader (grub-configuration (device "/dev/sdX")))
16 (file-systems (cons (file-system
23 (users (list (user-account
25 (comment "Alice's brother")
27 (supplementary-groups '("wheel"
29 (home-directory "/home/bob"))))
31 ;; Add Xfce and Ratpoison; that allows us to choose
32 ;; sessions using either of these at the log-in screen.
33 (packages (cons* xfce ratpoison ;desktop environments
34 xterm wicd avahi ;useful tools
37 ;; Use the "desktop" services, which include the X11
38 ;; log-in service, networking with Wicd, and more.
39 (services %desktop-services)
41 ;; Allow resolution of '.local' host names with mDNS.
42 (name-service-switch %mdns-host-lookup-nss))