1 ;; This is an operating system configuration template
2 ;; for a "bare bones" setup for an ASUS C201PA.
4 (use-modules (gnu) (gnu bootloader depthcharge))
5 (use-service-modules networking ssh)
6 (use-package-modules linux screen)
9 (host-name "komputilo")
10 (timezone "Europe/Berlin")
13 ;; Assuming /dev/mmcblk0p1 is the kernel partition, and
14 ;; "my-root" is the label of the target root file system.
15 (bootloader (bootloader-configuration
16 (bootloader depthcharge-bootloader)
17 (target "/dev/mmcblk0p1")))
19 ;; The ASUS C201PA requires a very particular kernel to boot,
20 ;; as well as the following arguments.
21 (kernel linux-libre-arm-generic)
22 (kernel-arguments '("console=tty1"))
24 ;; We do not need any special modules for initrd, and the
25 ;; PrawnOS kernel does not include many of the normal ones.
28 (file-systems (cons (file-system
29 (device (file-system-label "my-root"))
34 ;; This is where user accounts are specified. The "root"
35 ;; account is implicit, and is initially created with the
37 (users (cons (user-account
39 (comment "Bob's sister")
42 ;; Adding the account to the "wheel" group
43 ;; makes it a sudoer. Adding it to "audio"
44 ;; and "video" allows the user to play sound
45 ;; and access the webcam.
46 (supplementary-groups '("wheel"
48 (home-directory "/home/alice"))
51 ;; Globally-installed packages.
52 (packages (cons screen %base-packages))
54 ;; Add services to the baseline: a DHCP client and
56 (services (append (list (service dhcp-client-service-type)
57 (service openssh-service-type
58 (openssh-configuration