updates to make kaladin a substitute server

This helps me to use it's much faster processer to build packages like
firefox and then install them in syl.
This commit is contained in:
Chris Cochrun 2023-06-28 11:30:36 -05:00
parent 482c123e21
commit ac0230236a
5 changed files with 40 additions and 24 deletions

View file

@ -148,11 +148,14 @@ YOUR-USER-NAME ALL=(ALL) NOPASSWD:/run/current-system/profile/bin/chvt,/run/cur
(guix-service-type config => (guix-configuration
(inherit config)
(substitute-urls
(append (list "https://substitutes.nonguix.org")
(append (list "https://substitutes.nonguix.org" "http://172.16.1.7:8080")
%default-substitute-urls))
(authorized-keys
(append (list (plain-file "nonguix.pub" "(public-key (ecc (curve Ed25519) (q #C1FD53E5D4CE971933EC50C9F307AE2171A2D3B52C804642A7A35F84F3A4EA98#)))"))
%default-authorized-guix-keys))))
(append (list
(plain-file "nonguix.pub" "(public-key (ecc (curve Ed25519) (q #C1FD53E5D4CE971933EC50C9F307AE2171A2D3B52C804642A7A35F84F3A4EA98#)))")
(plain-file "kaladin.pub" "(public-key (ecc (curve Ed25519) (q #7C5E5BEDFC0650E10AE70762F481021C0633C57376DFC7B1C3C4BE0115FD4264#)))"))
%default-authorized-guix-keys))
(discover? #t)))
;; greetd-service-type provides "greetd" PAM service
(delete login-service-type)
(delete console-font-service-type)