1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2014 Ludovic Courtès <ludo@gnu.org>
4 ;;; This file is part of GNU Guix.
6 ;;; GNU Guix is free software; you can redistribute it and/or modify it
7 ;;; under the terms of the GNU General Public License as published by
8 ;;; the Free Software Foundation; either version 3 of the License, or (at
9 ;;; your option) any later version.
11 ;;; GNU Guix is distributed in the hope that it will be useful, but
12 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
13 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 ;;; GNU General Public License for more details.
16 ;;; You should have received a copy of the GNU General Public License
17 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
21 ;;; This file defines an operating system configuration for the demo virtual
22 ;;; machine images that we build.
32 (gnu services networking)
39 (timezone "Europe/Paris")
40 (locale "en_US.UTF-8")
42 (bootloader (grub-configuration
45 ;; We provide a dummy file system for /, but that's OK because the VM build
46 ;; code will automatically declare the / file system for us.
51 ;; %fuse-control-file-system ; needs fuse.ko
52 ;; %binary-format-file-system ; needs binfmt.ko
55 (users (list (user-account
58 (supplementary-groups '("wheel")) ; allow use of sudo
60 (comment "Guest of GNU")
61 (home-directory "/home/guest"))))
64 This is an alpha preview of the GNU system. Welcome.
66 This image features the GNU Guix package manager, which was used to
67 build it (http://www.gnu.org/software/guix/). The init system is
68 GNU dmd (http://www.gnu.org/software/dmd/).
70 You can log in as 'guest' or 'root' with no password.
73 (services (cons* (slim-service #:auto-login? #t
74 #:default-user "guest")
76 ;; QEMU networking settings.
77 (static-networking-service "eth0" "10.0.2.10"
78 #:name-servers '("10.0.2.3")
82 (dbus-service (list avahi))
87 ;; Explicitly allow for empty passwords.
88 (base-pam-services #:allow-empty-passwords? #t))
90 (packages (cons* strace
92 xterm avahi %base-packages)))