aboutsummaryrefslogtreecommitdiff
path: root/gnu/system/examples/raspberry-pi-64.tmpl
blob: 414d8ac7a546c3867bde790d109177d9e7885955 (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
62
63
64
65
66
67
68
69
70
71
72
73
;; -*- mode: scheme; -*-
;; This is an operating-system configuration template of a
;; 64-bit minimal system for a Raspberry Pi with local storage.

;; It neither installs firmware nor device-tree files for the Raspberry Pi.
;; It just assumes them to be existing in boot/efi in the same way that some
;; UEFI firmware with ACPI data is usually assumed to be existing on PCs.

;; It expects the boot-partition to be mounted as boot/efi in the same way
;; as it is usually expeted on PCs with UEFI firmware.

(use-modules (gnu)
             (gnu artwork)
             (gnu system nss))
(use-service-modules admin
                     avahi
                     networking
                     ssh)
(use-package-modules linux
                     raspberry-pi
                     ssh)

(define-public raspberry-pi-64
  (operating-system
    (host-name "raspberrypi-guix")
    (timezone "Europe/Berlin")
    (bootloader (bootloader-configuration
                 (bootloader grub-efi-bootloader-chain-raspi-64)
                 (targets (list "/boot/efi"))
                 (theme (grub-theme
                         (resolution '(1920 . 1080))
                         (image (file-append
                                 %artwork-repository
                                 "/grub/GuixSD-fully-black-16-9.svg"))))))
    (kernel (customize-linux #:linux linux-libre-arm64-generic
                             ;; It is possible to use a specific defconfig
                             ;; file, for example the "bcmrpi3_defconfig" with
                             ;; the variable shown below.  Unfortunately the
                             ;; kernel built from the linux-libre sources with
                             ;; this defconfig file does not boot.
                             ;;#:extra-version "gnu-bcmrpi3"
                             ;;#:defconfig %bcmrpi3-defconfig
                             ))
    (initrd-modules '())
    (file-systems (cons* (file-system
                           (mount-point "/")
                           (type "ext4")
                           (device (file-system-label "Guix")))
                         (file-system
                           (mount-point "/boot/efi")
                           (type "vfat")
                           (device (file-system-label "EFI")))
                         %base-file-systems))
    (swap-devices (list (swap-space
                         (target "/run/swapfile"))))
    (users (cons* (user-account
                   (name "pi")
                   (group "users")
                   (supplementary-groups '("wheel" "netdev" "audio" "video"))
                   (home-directory "/home/pi"))
                  %base-user-accounts))
    (packages (cons* openssh
                     %base-packages))
    (services (cons* (service avahi-service-type)
                     (service dhcp-client-service-type)
                     (service ntp-service-type)
                     (service openssh-service-type
                              (openssh-configuration
                               (x11-forwarding? #t)))
                     %base-services))
    (name-service-switch %mdns-host-lookup-nss)))

raspberry-pi-64
rt) (python2-radon, python2-rfc6555, python2-activepapers, python2-send2trash) (python2-cloudpickle, python2-reparser), gnu/packages/python.scm (python2-called-python), gnu/packages/qt.scm (python2-sip, python-pyqt-without-qtwebkit, python2-pyqt) (python-qscintilla, python-pyqt+qscintilla), gnu/packages/scanner.scm (sane-backends), gnu/packages/sdl.scm (guile3.0-sdl2), gnu/packages/selinux.scm (checkpolicy, libselinux, libsemanage, secilc) (python-sepolgen, policycoreutils), gnu/packages/serialization.scm (lua5.1-libmpack, lua5.2-libmpack), gnu/packages/simulation.scm (fenics), gnu/packages/statistics.scm (python2-statsmodels), gnu/packages/texinfo.scm (info-reader), gnu/packages/wxwidgets.scm (wxwidgets-gtk2, wxwidgets-gtk2-3.1), gnu/packages/xml.scm (xmlsec-nss), gnu/packages/xorg.scm (uim-gtk, uim-qt), guix/build-system/python.scm (package-with-explicit-python) (strip-python2-variant): Use PACKAGE/INHERIT. Mark H Weaver 2021-03-01gnu: node: Update to 10.24.0 [security fixes]....* gnu/packages/node.scm (node): Update to 10.24.0. Léo Le Bouter 2021-02-24gnu: node: Update to 10.23.3....* gnu/packages/node.scm (node): Update to 10.23.3. Jelle Licht 2021-01-25Merge branch 'master' into stagingLeo Famulari 2021-01-20gnu: libnode: Fix regression in unused phases....Fixes regression introduced with commit 1d77141f6d5004cf10d1f9ead53855f25a973847. Reported by Pierre-Antoine Bouttier <pierre-antoine.bouttier@univ-grenoble-alpes.fr>. * gnu/packages/node.scm (libnode)[arguments]: Delete phase "patch-node-shebang". Signed-off-by: Ricardo Wurmus <rekado@elephly.net> zimoun 2020-12-29Merge branch 'master' into ungraftingMarius Bakke 2020-12-29gnu: node: Fix npx shebang....* gnu/packages/node.scm (node)[arguments]: Add build phase "patch-node-shebang". Ricardo Wurmus 2020-12-08gnu: node: Update to 10.22.1....This follows up on 3eb34c66b42d1fa520a374e9b35a6ce7bd1e8987 which left an unbound "nghttp2-1.41" variable. * gnu/packages/node.scm (node): Update to 10.22.1. (node-10.22): Remove variable. * gnu/packages/gnuzilla.scm (icecat)[native-inputs]: Change from NODE-10.22 to NODE. (icedove)[native-inputs]: Likewise. Marius Bakke 2020-11-17gnu: node@10.22: Update to 10.22.1....* gnu/packages/node.scm (node-10.22): Update to 10.22.1. Jonathan Brielmaier