Buildable container

This commit is contained in:
TakeV 2023-05-02 20:40:35 -07:00
parent 95cf3caa0b
commit 056690e8ec
Signed by: TakeV
GPG Key ID: A64F41345C7400AF
2 changed files with 5 additions and 4 deletions

View File

@ -42,7 +42,7 @@
))) )))
(list (shepherd-service (list (shepherd-service
(documentation "Run GoToSocial") (documentation "Run GoToSocial")
(requirement '(networking)) ;(requirement '(networking))
(provision '(gotosocial-server)) (provision '(gotosocial-server))
(start #~(make-forkexec-constructor '#$command (start #~(make-forkexec-constructor '#$command
#:user "gotosocial" #:user "gotosocial"

View File

@ -2,9 +2,9 @@
(guix packages) (guix packages)
(guix build-system trivial) (guix build-system trivial)
(guix licenses) (guix licenses)
(gnu system nss)) (gnu system nss)
(kulupu services activity-pub))
(include "activity-pub.scm")
(define dummy-package (define dummy-package
(package (package
@ -45,6 +45,7 @@
(host-name hostname) (host-name hostname)
(bootloader (bootloader-configuration (bootloader dummy-bootloader))) (bootloader (bootloader-configuration (bootloader dummy-bootloader)))
(file-systems '()) (file-systems '())
(services (cons* (gotosocial-service-type) %base-services))))) (services (cons* (service gotosocial-service-type)
%base-services)))))
(generate-container-os "test") (generate-container-os "test")