aboutsummaryrefslogtreecommitdiff
path: root/gnu/system/examples/asus-c201.tmpl
blob: 019111c1674b859d25479d147ef712f18739c342 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
;; -*- mode: scheme; -*-
;; This is an operating system configuration template
;; for a "bare bones" setup for an ASUS C201PA.

(use-modules (gnu) (gnu bootloader depthcharge))
(use-service-modules networking ssh)
(use-package-modules linux screen)

(operating-system
  (host-name "komputilo")
  (timezone "Europe/Berlin")
  (locale "en_US.utf8")

  ;; Assuming /dev/mmcblk0p1 is the kernel partition, and
  ;; "my-root" is the label of the target root file system.
  (bootloader (bootloader-configuration
                (bootloader depthcharge-bootloader)
                (targets '("/dev/mmcblk0p1"))))

  ;; The ASUS C201PA requires a very particular kernel to boot,
  ;; as well as the following arguments.
  (kernel linux-libre-arm-generic)
  (kernel-arguments '("console=tty1"))

  ;; We do not need any special modules for initrd, and the
  ;; PrawnOS kernel does not include many of the normal ones.
  (initrd-modules '())

  (file-systems (cons (file-system
                        (device (file-system-label "my-root"))
                        (mount-point "/")
                        (type "ext4"))
                      %base-file-systems))

  ;; This is where user accounts are specified.  The "root"
  ;; account is implicit, and is initially created with the
  ;; empty password.
  (users (cons (user-account
                (name "alice")
                (comment "Bob's sister")
                (group "users")

                ;; Adding the account to the "wheel" group
                ;; makes it a sudoer.  Adding it to "audio"
                ;; and "video" allows the user to play sound
                ;; and access the webcam.
                (supplementary-groups '("wheel"
                                        "audio" "video"))
                (home-directory "/home/alice"))
               %base-user-accounts))

  ;; Globally-installed packages.
  (packages (cons screen %base-packages))

  ;; Add services to the baseline: a DHCP client and
  ;; an SSH server.
  (services (append (list (service dhcp-client-service-type)
                          (service openssh-service-type
                                   (openssh-configuration
                                    (port-number 2222))))
                    %base-services)))
(rust-winit-0.28): New variable. (rust-winit-0.26): Inherit from rust-winit-0.28. Efraim Flashner 2023-05-07gnu: rust-x11-dl-2: Update to 2.21.0....* gnu/packages/crates-graphics.scm (rust-x11-dl-2): Update to 2.21.0. [cargo-inputs]: Remove rust-lazy-static-1, rust-maybe-uninit-2. Add rust-once-cell-1. [license]: Update license. Efraim Flashner 2023-05-07gnu: Add rust-raw-window-handle-0.5....* gnu/packages/crates-graphics.scm (rust-raw-window-handle-0.5): New variable. (rust-raw-window-handle-0.4): Inherit from rust-raw-window-handle-0.5. Efraim Flashner 2023-05-07gnu: rust-core-graphics-0.22: Update to 0.22.3....* gnu/packages/crates-graphics.scm (rust-core-graphics-0.22): Update to 0.22.3. Efraim Flashner 2023-05-07gnu: rust-wayland-sys-0.29: Update to 0.29.5....* gnu/packages/crates-io.scm (rust-wayland-sys-0.29): Update to 0.29.5. Efraim Flashner 2023-05-07gnu: Add rust-wayland-sys-0.30....* gnu/packages/crates-graphics.scm (rust-wayland-sys-0.30): New variable. (rust-wayland-sys-0.29): Inherit from rust-wayland-sys-0.30. Efraim Flashner 2023-05-07gnu: rust-wayland-server-0.29: Update to 0.29.5....* gnu/packages/crates-io.scm (rust-wayland-server-0.29): Update to 0.29.5. [cargo-inputs]: Replace rust-nix-0.22 with 0.24. Add rust-wayland-commons-0.29, rust-wayland-scanner-0.29, rust-wayland-sys-0.29. [inputs]: Replace rust-nix-0.22 with 0.24. Efraim Flashner 2023-05-07gnu: rust-wayland-scanner-0.29: Update to 0.29.5....* gnu/packages/crates-io.scm (rust-wayland-scanner-0.29): Update to 0.29.5. [cargo-inputs]: Add rust-proc-macro2, rust-quote-1, rust-xml-rs-0.8. Efraim Flashner 2023-05-07gnu: rust-wayland-protocols-0.29: Update to 0.29.5....* gnu/packages/crates-graphics.scm (rust-wayland-protocols-0.29): Update to 0.29.5. [cargo-inputs]: Replace rust-bitflags-1.2 with 1. Add rust-wayland-client-0.29, rust-wayland-commons-0.29, rust-wayland-scanner-0.29, rust-wayland-server-0.29. [inputs]: Replace rust-bitflags-1.2 with 1. Efraim Flashner 2023-05-07gnu: rust-wayland-egl-0.29: Update to 0.29.5....* gnu/packages/crates-io.scm (rust-wayland-egl-0.29): Update to 0.29.5. [cargo-inputs]: Add rust-wayland-client-0.29, rust-wayland-sys-0.29. Efraim Flashner 2023-05-07gnu: rust-wayland-cursor-0.29: Update to 0.29.5....* gnu/packages/crates-graphics.scm (rust-wayland-cursor-0.29): Update to 0.29.5. [cargo-inputs]: Replace rust-nix-0.22 with 0.24. Add rust-wayland-client-0.29. [inputs]: Replace rust-nix-0.22 with 0.24. Efraim Flashner 2023-05-07gnu: rust-wayland-commons-0.29: Update to 0.29.5....* gnu/packages/crates-graphics.scm (rust-wayland-commons-0.29): Update to 0.29.5. [cargo-inputs]: Replace rust-nix-0.22 with 0.24. [inputs]: Replace rust-nix-0.22 with 0.24. Efraim Flashner 2023-05-07gnu: rust-wayland-client-0.29: Update to 0.29.5....* gnu/packages/crates-graphics.scm (rust-wayland-client-0.29): Update to 0.29.5. [cargo-inputs]: Replace rust-nix-0.22 with 0.24. Add rust-wayland-sys-0.29. [inputs]: Replace rust-nix-0.22 with 0.24. Efraim Flashner 2023-05-07gnu: Add rust-glutin-0.30....* gnu/packages/crates-graphics.scm (rust-glutin-0.30): New variable. (rust-glutin-0.28): Inherit from rust-glutin-0.30. Efraim Flashner 2023-05-07gnu: Add rust-dav1d-0.6....* gnu/packages/crates-graphics.scm (rust-dav1d-0.6): New variable. Efraim Flashner 2023-05-07gnu: Add rust-exr-1....* gnu/packages/crates-graphics.scm (rust-exr-1): New variable. Efraim Flashner 2023-05-07gnu: Remove rust-gl-generator-0.10....* gnu/packages/crates-graphics.scm (rust-gl-generator-0.10): Delete variable. Efraim Flashner 2023-05-07gnu: Add rust-libwebp-sys-0.4....* gnu/packages/crates-graphics.scm (rust-libwebp-sys-0.4): New variable. Efraim Flashner 2023-05-07gnu: Add rust-mp4parse-0.12....* gnu/packages/crates-graphics.scm (rust-mp4parse-0.12): New variable. Efraim Flashner 2023-05-07gnu: Add rust-webp-0.2....* gnu/packages/crates-graphics.scm (rust-webp-0.2): New variable. Efraim Flashner 2023-05-07gnu: Add rust-tiff-0.8....* gnu/packages/crates-graphics.scm (rust-tiff-0.8): New variable. (rust-tiff-0.6): Inherit from rust-tiff-0.8. Efraim Flashner 2023-05-07gnu: rust-rgb-0.8: Update to 0.8.36....* gnu/packages/crates-graphics.scm (rust-rgb-0.8): Update to 0.8.36. Efraim Flashner 2023-05-07gnu: rust-png-0.17: Update to 0.17.7....* gnu/packages/crates-graphics.scm (rust-png-0.17): Update to 0.17.7. [cargo-inputs]: Replace rust-miniz-oxide-0.5 with 0.6. Efraim Flashner 2023-05-07gnu: Add rust-jpeg-decoder-0.3....* gnu/packages/crates-graphics.scm (rust-jpeg-decoder-0.3): New variable. (rust-jpeg-decoder-0.1): Inherit from rust-jpeg-decoder-0.3. Efraim Flashner 2023-05-07gnu: Add rust-image-0.24....* gnu/packages/crates-graphics.scm (rust-image-0.24): New variable. (rust-image-0.23): Inherit from rust-image-0.24. Efraim Flashner 2023-05-07gnu: Add rust-dcv-color-primitives-0.4....* gnu/packages/crates-graphics.scm (rust-dcv-color-primitives-0.4): New variable. Efraim Flashner 2023-05-07gnu: Add rust-dav1d-sys-0.7....* gnu/packages/crates-graphics.scm (rust-dav1d-sys-0.7): New variable. (rust-dav1d-sys-0.3): Inherit from rust-dav1d-sys-0.7. Efraim Flashner 2023-05-07gnu: Add rust-avif-serialize-0.7....* gnu/packages/crates-graphics.scm (rust-avif-serialize-0.7): New variable. (rust-avif-serialize-0.6): Inherit from rust-avif-serialize-0.7. Efraim Flashner 2023-05-07gnu: Add rust-ravif-0.8....* gnu/packages/crates-graphics.scm (rust-ravif-0.8): New variable. (rust-ravif-0.6): Inherit from rust-ravif-0.8. Efraim Flashner 2023-05-07gnu: Add rust-avif-parse-1....* gnu/packages/crates-graphics.scm (rust-avif-parse-1): New variable. (rust-avif-parse-0.13): Inherit from rust-avif-parse-1. Efraim Flashner 2023-05-07gnu: rust-aom-sys-0.3: Update to 0.3.2....* gnu/packages/crates-graphics.scm (rust-aom-sys-0.3): Update to 0.3.2. [cargo-inputs]: Add rust-system-deps-6. Remove rust-metadeps-1. Replace rust-bindgen-0.54 with 0.61. Efraim Flashner 2023-05-07gnu: rust-imgref-1: Update to 1.9.4....* gnu/packages/crates-graphics.scm (rust-imgref-1): Update to 1.9.4. [arguments]: Don't skip build. Efraim Flashner 2023-05-07gnu: Remove rust-gl-0.11....* gnu/packages/crates-graphics.scm (rust-gl-0.11): Delete variable. Efraim Flashner 2022-12-12Merge remote-tracking branch 'origin/master' into stagingMaxim Cournoyer