From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id WJOYDfpGKmBYCAAA0tVLHw (envelope-from ) for ; Mon, 15 Feb 2021 10:03:38 +0000 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id KLBuCfpGKmAmRAAA1q6Kng (envelope-from ) for ; Mon, 15 Feb 2021 10:03:38 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 7AB5728DD3 for ; Mon, 15 Feb 2021 11:03:34 +0100 (CET) Received: from localhost ([::1]:35942 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lBaj6-0001VZ-P2 for larch@yhetil.org; Mon, 15 Feb 2021 05:03:32 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:39662) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lBaiy-0001VT-5e for help-guix@gnu.org; Mon, 15 Feb 2021 05:03:24 -0500 Received: from flashner.co.il ([178.62.234.194]:44854) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lBaiw-0004fg-9a for help-guix@gnu.org; Mon, 15 Feb 2021 05:03:23 -0500 Received: from localhost (unknown [31.210.181.184]) by flashner.co.il (Postfix) with ESMTPSA id AD3E540092; Mon, 15 Feb 2021 10:03:20 +0000 (UTC) Date: Mon, 15 Feb 2021 12:02:45 +0200 From: Efraim Flashner To: Jonathan Marsden Subject: Re: Another Raspberry Pi data point Message-ID: References: <6d54c219be2ec6f54de5eb2aaa45aa72@huxton.org.uk> <87a5abdc-9a36-4821-af8f-54ac68adfa0d@www.fastmail.com> <2774b71b-0865-4fd4-b9c9-2beabd0e6b7a@www.fastmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="4K9WY675Eh+mPICk" Content-Disposition: inline In-Reply-To: <2774b71b-0865-4fd4-b9c9-2beabd0e6b7a@www.fastmail.com> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Received-SPF: pass client-ip=178.62.234.194; envelope-from=efraim@flashner.co.il; helo=flashner.co.il X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: help-guix@gnu.org Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -3.96 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: 7AB5728DD3 X-Spam-Score: -3.96 X-Migadu-Scanner: scn0.migadu.com X-TUID: sDph1iFLnD1r --4K9WY675Eh+mPICk Content-Type: multipart/mixed; boundary="QlBhLEuCfw1MAFLK" Content-Disposition: inline --QlBhLEuCfw1MAFLK Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Feb 11, 2021 at 07:24:36PM -0600, Jonathan Marsden wrote: >=20 > Is anyone currently booting Guix System on a small single board computer = that=20 > they can share info about, and ideally share a sample Guix system OS .scm= file=20 > definition for? >=20 Here's a link to my pine64 config. Some config options I've factored out into other files in the repository, but I've included a stripped-down version attached to this email. It will build no-problems from an aarch64 machine, but will need to have some services removed to cross-compile from x86_64. --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --QlBhLEuCfw1MAFLK Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="pine64.scm" (define-module (pine64)) (use-modules (guix packages) (gnu) (gnu bootloader u-boot) (gnu system locale) (srfi srfi-1)) (use-service-modules linux networking ssh) (use-package-modules certs connman linux) (operating-system (host-name "pine64") (timezone "Asia/Jerusalem") (locale "en_US.UTF-8") (locale-definitions (list (locale-definition (source "en_US") (name "en_US.UTF-8")) (locale-definition (source "he_IL") (name "he_IL.UTF-8")))) (bootloader (bootloader-configuration (bootloader u-boot-pine64-plus-bootloader) (target "/dev/mmcblk0"))) ; SD card/eMMC (SD priority) storage (initrd-modules '()) ;; The board fails to boot with stock linux-libre (kernel linux-libre-arm64-generic) (swap-devices (list "/swapfile")) (file-systems (cons* (file-system (device (file-system-label "root")) (mount-point "/") (type "ext4")) %base-file-systems)) (users (cons (user-account (name "efraim") (comment "Efraim") (group "users") (supplementary-groups '("wheel" "netdev" "kvm")) (home-directory "/home/efraim")) %base-user-accounts)) ;; This is where we specify system-wide packages. (packages (cons* nss-certs ;for HTTPS access %base-packages)) (services (cons* (service guix-publish-service-type (guix-publish-configuration (host "0.0.0.0") (port 3000))) (service openssh-service-type (openssh-configuration (x11-forwarding? #t) (extra-content "StreamLocalBindUnlink yes"))) (service tor-service-type) (tor-hidden-service "ssh" '((22 "127.0.0.1:22"))) (tor-hidden-service "guix-publish" '((3000 "127.0.0.1:3000"))) (service openntpd-service-type (openntpd-configuration (listen-on '("127.0.0.1" "::1")) ;; Prevent moving to year 2116. (constraints-from '("https://www.google.com/")))) (service connman-service-type) (service wpa-supplicant-service-type) ;; Needs no-manual version, depends on pandoc. (service earlyoom-service-type (earlyoom-configuration (earlyoom (let ((base earlyoom)) (package (inherit base) (native-inputs (alist-delete "pandoc" (package-native-inputs base)))))))) ;; Not supported by linux-libre-arm64-generic ;(service zram-device-service-type ; (zram-device-configuration ; (size (* 2 (expt 2 30))) ; (compression-algorithm 'zstd) ; (priority 100))) %base-services)) ;; Allow resolution of '.local' host names with mDNS. (name-service-switch %mdns-host-lookup-nss)) --QlBhLEuCfw1MAFLK-- --4K9WY675Eh+mPICk Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmAqRsQACgkQQarn3Mo9 g1Gwlg/+ILfzV+rBcUxis8Yo+Dj1TI7K6bGY6n+3Wx4py+wR1hmpL//P5FkgwSn9 p+qiBTL1X7dsLe6j5/i8xxjZYQ1Tuzo3Dt0xxKJTUH2bJ46RlPvggdzQarJb8SwF 1ZRhX6OiM0vj13FZeorvVSveyNbUhBDFxbdy7LvbhN1flcDSrXxZb4tSAwajNVfn kUsRbtKmbydk2MDZcFEInyPfdzvfs8sVpuW9FvZFtqCM/vEA1tplGDXd/QcEXEMJ gZWRpmu/+EXwtBr9nTnKW+4g/3qS6r3V3zZGaOwsDpcKCsdqr8tkIEfqtiajId+k y8d7+tIcn/Qpbi9n4Itg2PDlhCX2JWun0LCsYgaNSqzklvNcHm/QlsxETDwRccAF FvelUlEUVl8snHUoih1NFEwBNhLFfDZhWncyjFP2YR78aBhnzSdne2mJSAk73dkV uFmKLvK3FrvkNlTidAr6BCjalQA1cw4D6xWhYeeoCBPmGGzQV6H432M4bknjriAL +L1zHbRrt4yngL0F9HZnFO/vvc8Xwu2v1mCyXKL1F5njn/Hp/kn7ag+Rt72JTF1p XufxpnZK5Bh0X5ee+UyVMFklQfSknMIt1sf70RQl8Dtu6SazBNyiNkNFoP/DAvcX WJCuru7Uuqm78H4X8w8c1v15o2Oj0TB/nwqdhKJWev6iZka8OBI= =ZQuU -----END PGP SIGNATURE----- --4K9WY675Eh+mPICk--