This is a follow-up to commit 86afaadb51 ("system: Add 'nss-certs' to
%base-packages-networking.")
* doc/guix-cookbook.texi (Running Guix on a Linode Server): Remove nss-certs
from operating system's packages field.
(Running Guix on a Kimsufi Server): Likewise.
* doc/guix.texi (Using the Configuration System): Likewise.
(X.509 Certificates): Adjust to mention nss-certs *is* part of %base-packages.
* gnu/installer/services.scm (%system-services): Remove recommendation to
install nss-certs.
* gnu/system/examples/bare-bones.tmpl (host-name): Remove obsolete comments.
* gnu/system/examples/desktop.tmpl (packages): Remove nss-certs.
* gnu/system/examples/lightweight-desktop.tmpl (packages): Likewise.
* gnu/system/examples/plasma.tmpl (packages): Likewise.
* gnu/system/examples/raspberry-pi-64-nfs-root.tmpl (packages): Likewise.
* gnu/system/examples/raspberry-pi-64.tmpl (packages): Likewise.
* gnu/system/examples/vm-image.tmpl (packages): Likewise.
* gnu/system/images/orangepi-r1-plus-lts-rk3328.scm (packages): Likewise.
* gnu/system/images/pine64.scm (packages): Likewise.
* gnu/system/install.scm (installation-os) [packages]: Likewise.
Change-Id: If09123a69b987178bcb0aab61c4570c14fc1286f
		
	
			
		
			
				
	
	
		
			73 lines
		
	
	
	
		
			3.1 KiB
		
	
	
	
		
			Scheme
		
	
	
	
	
	
			
		
		
	
	
			73 lines
		
	
	
	
		
			3.1 KiB
		
	
	
	
		
			Scheme
		
	
	
	
	
	
| ;; -*- 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
 |