[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: It’s building!

From: Maxim Cournoyer
Subject: Re: It’s building!
Date: Thu, 19 Jan 2017 22:28:01 -0800 (1 day, 19 hours, 59 minutes ago)

Hello Guix!

address@hidden (Ludovic Courtès) writes:

> Hello Guix!
> Good news: the new machine,, is building Guix master
> for x86_64/i686 with Cuirass⁰!

Nice! Thanks to everyone implicated!

> You can get substitutes from; just authorize
> its key (with ‘guix archive --authorize’), which is:
>   (public-key 
>    (ecc 
>     (curve Ed25519)
>     (q #8D156F295D24B0D9A86FA5741A840FF2D24F60F7B6C4134814AD55625971B394#)))


If anyone else would like to use the new bayfront substitute server by
declaring it in their config.scm you can consult the config I'm using
below, which is based on the lightweight desktop config base.

The important bits added are (guix-store) and (gnu services base) in the
topmost (use-modules ...) sexp, as well as in the modified (services ...) one.

Thanks for those who offered guidance on how to do this in the #guix irc

(use-modules (gnu)
             (gnu system nss)
             (gnu services)
             (guix store)           ;for %default-substitute-urls
             (gnu services base))   ;for %default-authorized-guix-keys
(use-service-modules desktop)
(use-package-modules wm ratpoison certs)

  (host-name "apteryx")
  (timezone "America/Los_Angeles")
  (locale "en_US.UTF-8")

  ;; Assuming /dev/sdX is the target hard disk, and "my-root"
  ;; is the label of the target root file system.
  (bootloader (grub-configuration (device "/dev/sda")))

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

  (users (cons (user-account
                (name "maxim")
                (comment "Maxim Cournoyer")
                (group "users")
                (supplementary-groups '("wheel" "netdev"
                                        "audio" "video"))
                (home-directory "/home/maxim"))

  ;; Add a bunch of window managers; we can choose one at
  ;; the log-in screen with F1.
  (packages (cons* ratpoison ; i3-wm xmonad  ;window managers
                   nss-certs               ;for HTTPS access

  ;; Use the "desktop" services, which include the X11
  ;; log-in service, networking with Wicd, and more.
    ;; Add the new bayfront server to the list of substitute-urls.
    (modify-services %desktop-services
      (guix-service-type config =>
                          (inherit config)
                           (cons* "";
                           (cons* (plain-file ""
                                              (string-append "(public-key (ecc 
(curve Ed25519) "
  ;; Allow resolution of '.local' host names with mDNS.
  (name-service-switch %mdns-host-lookup-nss))

Attachment: signature.asc
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]