[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: hydra: Move overdrive to sysadmin.
From: |
Mathieu Othacehe |
Subject: |
branch master updated: hydra: Move overdrive to sysadmin. |
Date: |
Wed, 17 Feb 2021 05:50:14 -0500 |
This is an automated email from the git hooks/post-receive script.
mothacehe pushed a commit to branch master
in repository maintenance.
The following commit(s) were added to refs/heads/master by this push:
new 7ba8635 hydra: Move overdrive to sysadmin.
7ba8635 is described below
commit 7ba86359aa9f36353f3bcd69cf6c725311946fd8
Author: Mathieu Othacehe <othacehe@gnu.org>
AuthorDate: Wed Feb 17 11:49:19 2021 +0100
hydra: Move overdrive to sysadmin.
* hydra/overdrive.scm: Move it to ...
* hydra/modules/sysadmin/overdrive.scm: ... here.
* hydra/overdrive1.scm: Adapt it.
---
hydra/{ => modules/sysadmin}/overdrive.scm | 91 +++++++++++++++---------------
hydra/overdrive1.scm | 2 +-
2 files changed, 47 insertions(+), 46 deletions(-)
diff --git a/hydra/overdrive.scm b/hydra/modules/sysadmin/overdrive.scm
similarity index 65%
rename from hydra/overdrive.scm
rename to hydra/modules/sysadmin/overdrive.scm
index 27d1c68..432067f 100644
--- a/hydra/overdrive.scm
+++ b/hydra/modules/sysadmin/overdrive.scm
@@ -16,7 +16,7 @@
;;; You should have received a copy of the GNU General Public License
;;; along with this program. If not, see <http://www.gnu.org/licenses/>.
-(define-module (overdrive)
+(define-module (sysadmin overdrive)
#:use-module (gnu)
#:use-module (gnu packages screen)
#:use-module (gnu packages ssh)
@@ -52,11 +52,11 @@
(define %authorized-guix-keys
;; List of authorized 'guix archive' keys.
- (list (local-file "keys/guix/berlin.guixsd.org-export.pub")
+ (list (local-file "../../keys/guix/berlin.guixsd.org-export.pub")
;; Exceptionally, allow exports from Ludo's laptop. This is
;; necessary for the release process.
- (local-file "keys/guix/ludo-laptop-export.pub")))
+ (local-file "../../keys/guix/ludo-laptop-export.pub")))
(define gc-job
;; Run 'guix gc' at 3AM every day.
@@ -105,48 +105,49 @@
(users (append %accounts %base-user-accounts))
(services
- (cons* (service openssh-service-type
- (openssh-configuration
- (authorized-keys
- `(("ludo" ,(local-file "keys/ssh/ludo.pub"))
- ("rekado" ,(local-file "keys/ssh/rekado.pub"))
- ("dannym" ,(local-file "keys/ssh/dannym.pub"))
- ("janneke" ,(local-file "keys/ssh/janneke.pub"))
- ("mathieu" ,(local-file "keys/ssh/mathieu.pub"))))))
- (service avahi-service-type)
- (service dhcp-client-service-type)
- (service mcron-service-type
- (mcron-configuration
- (jobs (list gc-job btrfs-job))))
-
- (service agetty-service-type
- (agetty-configuration
- (tty "ttyAMA0")
- (keep-baud? #t)
- (term "vt220")
- (baud-rate "115200,38400,9600")))
- (service cuirass-remote-worker-service-type
- (cuirass-remote-worker-configuration
- (workers 2)
- (server "10.0.0.1:5555") ;berlin
- (systems '("armhf-linux" "aarch64-linux"))))
- (service wireguard-service-type
- (wireguard-configuration
- (addresses (list wireguard-ip))
- (peers
- (list berlin-peer))))
-
- (service ntp-service-type)
-
- (modify-services %base-services
- (guix-service-type config =>
- (guix-configuration
- (inherit config)
- (max-silent-time 7200)
- (authorized-keys
- %authorized-guix-keys)
- (extra-options
- '("--max-jobs=2" "--cores=3")))))))
+ (cons*
+ (service openssh-service-type
+ (openssh-configuration
+ (authorized-keys
+ `(("ludo" ,(local-file "../../keys/ssh/ludo.pub"))
+ ("rekado" ,(local-file "../../keys/ssh/rekado.pub"))
+ ("dannym" ,(local-file "../../keys/ssh/dannym.pub"))
+ ("janneke" ,(local-file "../../keys/ssh/janneke.pub"))
+ ("mathieu" ,(local-file "../../keys/ssh/mathieu.pub"))))))
+ (service avahi-service-type)
+ (service dhcp-client-service-type)
+ (service mcron-service-type
+ (mcron-configuration
+ (jobs (list gc-job btrfs-job))))
+
+ (service agetty-service-type
+ (agetty-configuration
+ (tty "ttyAMA0")
+ (keep-baud? #t)
+ (term "vt220")
+ (baud-rate "115200,38400,9600")))
+ (service cuirass-remote-worker-service-type
+ (cuirass-remote-worker-configuration
+ (workers 2)
+ (server "10.0.0.1:5555") ;berlin
+ (systems '("armhf-linux" "aarch64-linux"))))
+ (service wireguard-service-type
+ (wireguard-configuration
+ (addresses (list wireguard-ip))
+ (peers
+ (list berlin-peer))))
+
+ (service ntp-service-type)
+
+ (modify-services %base-services
+ (guix-service-type config =>
+ (guix-configuration
+ (inherit config)
+ (max-silent-time 7200)
+ (authorized-keys
+ %authorized-guix-keys)
+ (extra-options
+ '("--max-jobs=2" "--cores=3")))))))
(packages (cons* btrfs-progs screen openssh strace nss-certs
%base-packages))))
diff --git a/hydra/overdrive1.scm b/hydra/overdrive1.scm
index 89502af..d093174 100644
--- a/hydra/overdrive1.scm
+++ b/hydra/overdrive1.scm
@@ -1,4 +1,4 @@
-(use-modules (overdrive))
+(use-modules (sysadmin overdrive))
(overdrive-system "overdrive1"
#:wireguard-ip "10.0.0.3/32")
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: hydra: Move overdrive to sysadmin.,
Mathieu Othacehe <=