1 ;; This is an operating system configuration template
2 ;; for a "bare bones" setup on BeagleBone Black board.
4 (use-modules (gnu) (gnu bootloader u-boot))
5 (use-service-modules networking)
6 (use-package-modules bootloaders screen ssh)
9 (host-name "komputilo")
10 (timezone "Europe/Berlin")
13 ;; Assuming /dev/mmcblk1 is the eMMC, and "my-root" is
14 ;; the label of the target root file system.
15 (bootloader (bootloader-configuration
16 (bootloader u-boot-beaglebone-black-bootloader)
17 (target "/dev/mmcblk1")))
19 ;; This module is required to mount the SD card.
20 (initrd-modules (cons "omap_hsmmc" %base-initrd-modules))
22 (file-systems (cons (file-system
23 (device (file-system-label "my-root"))
28 ;; This is where user accounts are specified. The "root"
29 ;; account is implicit, and is initially created with the
31 (users (cons (user-account
33 (comment "Bob's sister")
36 ;; Adding the account to the "wheel" group
37 ;; makes it a sudoer. Adding it to "audio"
38 ;; and "video" allows the user to play sound
39 ;; and access the webcam.
40 (supplementary-groups '("wheel"
42 (home-directory "/home/alice"))
45 ;; Globally-installed packages.
46 (packages (cons* screen openssh %base-packages))
48 (services (cons* (service dhcp-client-service-type)
49 ;; mingetty does not work on serial lines.
50 ;; Use agetty with board-specific serial parameters.
53 (extra-options '("-L"))