guix-commits
[Top][All Lists]
Advanced

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

04/06: hydra: bayfront: Provide appropriate settings for guix-daemon.


From: Ludovic Courtès
Subject: 04/06: hydra: bayfront: Provide appropriate settings for guix-daemon.
Date: Sat, 3 Dec 2016 11:18:52 +0000 (UTC)

civodul pushed a commit to branch master
in repository maintenance.

commit d71b7535bb287e00f2296237c4f36ae04bc02c23
Author: Ludovic Courtès <address@hidden>
Date:   Fri Dec 2 22:13:51 2016 +0100

    hydra: bayfront: Provide appropriate settings for guix-daemon.
---
 hydra/bayfront.scm |   22 ++++++++++++++--------
 1 file changed, 14 insertions(+), 8 deletions(-)

diff --git a/hydra/bayfront.scm b/hydra/bayfront.scm
index f1bedd1..736fd4d 100644
--- a/hydra/bayfront.scm
+++ b/hydra/bayfront.scm
@@ -22,6 +22,17 @@
   #~(job '(next-hour '(4))
          (string-append #$guix "/bin/guix gc -F80G")))
 
+(define %guix-daemon-config
+  (guix-configuration
+   ;; Disable substitutes altogether.
+   (use-substitutes? #f)
+   (substitute-urls '())
+   (authorized-keys '())
+
+   (extra-options '("--max-jobs=4" "--cores=8"    ;we have 32 cores
+                    "--cache-failures"
+                    "--gc-keep-outputs" "--gc-keep-derivations"))))
+
 (operating-system
   (host-name "bayfront")
   (timezone "Europe/Paris")
@@ -69,12 +80,7 @@
                             (mcron-configuration
                              (jobs (list %gc-job))))
 
-;;                   (modify-services %base-services
-;;                     ;; Disable substitutes altogether.
-;;                     (guix-service-type config =>
-;;                                        (guix-configuration
-;;                                         (inherit config)
-;;                                         (authorized-keys '())
-;;                                         (use-substitutes? #f))))
-                   %base-services)))
+                  (modify-services %base-services
+                    ;; Disable substitutes altogether.
+                    (guix-service-type config => %guix-daemon-config)))))
 



reply via email to

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