[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)))))
- branch master updated (09fcfc4 -> 8654b47), Ludovic Courtès, 2016/12/03
- 03/06: hydra: bayfront: Remove 'md0' variable (no functional change)., Ludovic Courtès, 2016/12/03
- 01/06: hydra: bayfront: Fix the netmask and network interface name., Ludovic Courtès, 2016/12/03
- 02/06: hydra: bayfront: Add OpenSSH to the global profile., Ludovic Courtès, 2016/12/03
- 06/06: hydra: bayfront: Add Tor hidden services., Ludovic Courtès, 2016/12/03
- 04/06: hydra: bayfront: Provide appropriate settings for guix-daemon.,
Ludovic Courtès <=
- 05/06: hydra: bayfront: Add nginx service., Ludovic Courtès, 2016/12/03