feat: set up guix-service and guix-publish-service to share packages in the local network
parent
88051add33
commit
bcba24b242
14
buer.scm
14
buer.scm
|
@ -18,7 +18,7 @@
|
|||
#|N|# nss)
|
||||
|
||||
(use-service-modules
|
||||
#|A|# admin
|
||||
#|A|# admin avahi
|
||||
#|D|# desktop
|
||||
#|M|# mcron
|
||||
#|N|# networking
|
||||
|
@ -165,11 +165,23 @@
|
|||
(directory "/var/log/guix/drvs")
|
||||
(expiry (* 3 30 24 3600))))
|
||||
|
||||
#|Avahi service|#
|
||||
(service avahi-service-type
|
||||
(avahi-configuration
|
||||
(wide-area? #t)))
|
||||
|
||||
#|Guix services|#
|
||||
(service guix-service-type
|
||||
(guix-configuration
|
||||
(discover? #t)
|
||||
(build-accounts 16)
|
||||
(extra-options '("--max-jobs=8" "--cores=4"))))
|
||||
(service guix-publish-service-type
|
||||
(guix-publish-configuration
|
||||
(port 8080)
|
||||
(advertise? #t)
|
||||
(compression '(("zstd" 3)))
|
||||
(workers 4)))
|
||||
|
||||
#|Mcron service|#
|
||||
(simple-service 'mcron-jobs mcron-service-type
|
||||
|
|
Loading…
Reference in New Issue