aboutsummaryrefslogtreecommitdiff
;; -*- mode: scheme; -*-
;; This is an operating system configuration template
;; for a "bare bones" setup on BeagleBone Black board.

(use-modules (gnu) (gnu bootloader u-boot))
(use-service-modules networking)
(use-package-modules bootloaders screen ssh)

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

  ;; Assuming /dev/mmcblk1 is the eMMC, and "my-root" is
  ;; the label of the target root file system.
  (bootloader (bootloader-configuration
               (bootloader u-boot-beaglebone-black-bootloader)
               (targets '("/dev/mmcblk1"))))

  ;; This module is required to mount the SD card.
  (initrd-modules (cons "omap_hsmmc" %base-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")))
               %base-user-accounts))

  ;; Globally-installed packages.
  (packages (append (list screen openssh) %base-packages))

  (services (append (list (service dhcp-client-service-type)
                          ;; mingetty does not work on serial lines.
                          ;; Use agetty with board-specific serial parameters.
                          (service agetty-service-type
                                   (agetty-configuration
                                    (extra-options '("-L"))
                                    (baud-rate "115200")
                                    (term "vt100")
                                    (tty "ttyO0"))))
                    %base-services)))
f='/guix/commit/nix?id=8e6c1415d87272c0221ce328715fc0dd1dd3e032'>daemon: Recognize SHA3 and BLAKE2s....Ludovic Courtès 2020-06-27daemon: Remove OpenSSL hash compatibility wrappers....Ludovic Courtès 2020-06-27daemon: Map directly to gcrypt hash functions....Ludovic Courtès 2020-06-25daemon: Correctly handle EMLINK corner case when deduplicating....Ludovic Courtès 2020-06-24nix: Tweak .gitignore files....Christopher Baines 2020-06-06daemon: Handle EXDEV when moving to trash directory....Chris Marusich 2020-05-23build: Add a comment above the sysvinit section....Vincent Legoll 2020-05-17etc: Install mount unit only if it exists....Tobias Geerinckx-Rice 2020-05-16etc: Add a systemd unit to bind-mount @storedir@ read-only....Tobias Geerinckx-Rice 2020-03-26daemon: Avoid kill -1 bug on the Hurd....Manolis Ragkousis 2020-03-26daemon: Do not use clone on the Hurd....Manolis Ragkousis 2020-03-11Add system start-up files for guix-daemon....Danny Milosavljevic 2020-02-26daemon: Drop 'AT_STATX_DONT_SYNC' flag upon EINVAL....Ludovic Courtès 2020-01-12daemon: Fix the displayed GC estimated progress....Ludovic Courtès 2020-01-12daemon: Account for deleted store files when deduplication is on....Ludovic Courtès 2019-11-29daemon: 'pathExists' uses 'statx' when available....Ludovic Courtès 2019-11-27daemon: 'deletePath' uses 'statx' when available....Ludovic Courtès 2019-11-27daemon: GC remove-unused-links phase uses 'statx' when available....Ludovic Courtès 2019-11-26daemon: boost::format: Fix typo "referred"....Vagrant Cascadian 2019-11-26guix build, daemon: Rename "--no-build-hook" to "--no-offload"....Ludovic Courtès 2019-11-22daemon: GC displays how much it has collected....Ludovic Courtès 2019-11-13daemon: Don't include <linux/fs.h>....Ludovic Courtès 2019-11-04daemon: Unregister build hook from the worker's children upon build failure....Ludovic Courtès 2019-10-16daemon: Make 'profiles/per-user' non-world-writable....Ludovic Courtès 2019-10-16daemon: Remove traces of 'NIX_ROOT_FINDER'....Ludovic Courtès 2019-09-28daemon: Strictly respect timeouts for 'guix offload'....Ludovic Courtès 2019-09-16daemon: Include 'config.h' in 'nix-daemon.cc'....Timothy Sample