2
0
Fork 0
mirror of git://git.savannah.gnu.org/guix/maintenance.git synced 2023-12-14 03:33:04 +01:00

hydra: Add harbourfront and update details of the build machines behind

bayfront.

* hydra/harbourfront.scm, hydra/keys/ssh/bayfront.pub: New files.
* hydra/machines.rec: Add harbourfront, update domain name and port
of redhill.
* hydra/machines.rec: Update domain names.
This commit is contained in:
Andreas Enge 2019-02-05 21:48:56 +01:00
parent 92677fcd7b
commit df0369d41c
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3
4 changed files with 87 additions and 5 deletions

65
hydra/harbourfront.scm Normal file
View file

@ -0,0 +1,65 @@
(use-modules (gnu))
(use-service-modules mcron networking ssh)
(use-package-modules certs screen ssh vim)
(define gc-job
;; Run 'guix gc' at 3AM every day.
#~(job '(next-hour '(3)) "guix gc -F 50G"))
(operating-system
(host-name "harbourfront")
(timezone "Europe/Paris")
(locale "en_US.utf8")
(bootloader (bootloader-configuration
(bootloader grub-bootloader)
(target "/dev/sda")
(terminal-outputs '(console))))
(file-systems (cons (file-system
(device (file-system-label "my-root"))
(mount-point "/")
(type "ext4"))
%base-file-systems))
;; Add kernel module for Symbios Logic SAS1068E
(initrd-modules (append (list "mptsas")
%base-initrd-modules))
(users (cons* (user-account
(name "andreas")
(comment "Andreas Enge")
(group "users")
(supplementary-groups '("wheel"))
(home-directory "/home/andreas"))
(user-account
(name "bayfront")
(comment "Bayfront Offload")
(group "users")
(home-directory "/home/bayfront"))
%base-user-accounts))
;; Globally-installed packages.
(packages (cons* nss-certs screen openssh vim %base-packages))
(services (cons* (static-networking-service
"enp12s0f0"
"147.210.17.78"
#:netmask "255.255.254.0"
#:gateway "147.210.17.254"
#:name-servers '("147.210.16.143" "147.210.16.214"))
(service openssh-service-type
(openssh-configuration
(permit-root-login 'without-password)
(authorized-keys
`(("andreas" ,(local-file "keys/ssh/andreas.pub"))
("bayfront" ,(local-file "keys/ssh/bayfront.pub"))
("root" ,(local-file "keys/ssh/andreas.pub"))))))
(service mcron-service-type
(mcron-configuration
(jobs (list gc-job))))
(modify-services %base-services
(guix-service-type config =>
(guix-configuration
(use-substitutes? #f)))))))

View file

@ -0,0 +1 @@
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDfRZuyMEWUoQsGVPq5EdS4unXffG968EXPBEbKngmrXTSWVp6F4vdaiHXmi6yDeb02ylXtlQPGIqCBs3IZb/Bm1MGMmNMo9eyLEER17yP2MszgC7uNsStkNbHeCh4+bEdjYJrtWSGovSmKVloYqKyI/1VLKYHnFzv2ilI4OrWhy03eJTECsU0u6rtgVTpl6/IPIvawqAhVa5WhWeC5Z/C9q+UYz8uH4/8/G/4OlqHTdPmTXi02yiRlh08fn1M3g1rjIQGIR+5OCNLMTqYZg6jLrYxmpBUupoiebIOXUWH1jH8byZs7Cr+cH6LIxdNesxv8Lf0uCGtmDdYgIWJcFNgz root@bayfront

View file

@ -1,6 +1,6 @@
(define harbourfront
(build-machine
(name "harbourfront.guixsd.org")
(name "harbourfront.guix.info")
(system "x86_64-linux")
(user "bayfront")
(host-key "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBfd3VZqyoKoZG3X772eDBrN2MPhnNDDnVA34hpf0f9b root@(none)")
@ -13,7 +13,7 @@
(define redhill
(build-machine
(name "redhill.guixsd.org")
(name "redhill.guix.info")
(port 9022)
(system "armhf-linux")
(user "bayfront")

View file

@ -171,8 +171,8 @@ PublicKey: (public-key
+
Nickname: redhill
Hostname: redhill.guixsd.org
Port: 9023
Hostname: redhill.guix.info
Port: 9022
Physical: Yes
Vendor: Novena
Location: Bordeaux, France
@ -186,7 +186,23 @@ PublicKey: (public-key
+ (q #24A48D6C6E144A3B743A7EE6078CB8243BDA2702FD797779F67C172DDD2D89CF#)
+ )
+ )
+
Nickname: harbourfront
Hostname: harbourfront.guix.info
Port: 22
Physical: Yes
Vendor: ?
Location: Bordeaux, France
Contact: Andreas Enge <andreas@enge.fr>
Cores: 8
SystemType: x86_64-linux
BaseSystem: GuixSD
PublicKey: (public-key
+ (ecc
+ (curve Ed25519)
+ (q #ED463268B44B6DC421EA32DF111CBE6A00BC1B0F96071F26B40E695EF4EC8DCB#)
+ )
+ )
Nickname: berlin
Hostname: berlin.guixsd.org