guix-devel
[Top][All Lists]
Advanced

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

Re: Build machine sysadmin support


From: David Craven
Subject: Re: Build machine sysadmin support
Date: Sun, 21 Aug 2016 16:34:00 +0200

guix install probably needs support for handling local-file's. This is
what I added as a template to gnu/system/examples. Apart from easily
deploying build-machines, I think this is also useful for getting guix
build --system=armhf-linux working.

;; GuixSD configuration file for the build machines.
;; Copyright © 2016 Ludovic Courtès <address@hidden>
;; Released under the GNU GPLv3 or any later version.

(use-modules (gnu system modules build-machines)
             (gnu system modules people)
             (guix))

(define %sysadmins
  (list (sysadmin (name "Alice")
                  (full-name "Bob's sister Alice")
                  (lsh-public-key (local-file
                                   (string-append (getenv "HOME")
                                                  "/.ssh/id_ed25519.pub"))))))

(define %authorized-guix-keys
  ;; List of authorized 'guix archive' keys.
  (list (local-file "../../../hydra.gnu.org.pub")
        (local-file "/etc/guix/signing-key.pub")))

;; The actual machine.
(build-machine-os "build-machine" "Europe/Paris" %sysadmins
                  #:authorized-guix-keys %authorized-guix-keys)



reply via email to

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