|
|
|
@ -35,37 +35,11 @@
|
|
|
|
|
(url "git://git.metznet.ca/system.git")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(build-system copy-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:install-plan
|
|
|
|
|
'(("." "etc/system"))))
|
|
|
|
|
(synopsis "metznet GUIX system definitions")
|
|
|
|
|
(description "metznet GUIX system definitions")
|
|
|
|
|
(home-page "http://home.metznet.ca")
|
|
|
|
|
(license licenses:gpl3+)))
|
|
|
|
|
|
|
|
|
|
(define-record-type* <metznet-system-configuration>
|
|
|
|
|
metznet-system-configuration make-metznet-system-configuration
|
|
|
|
|
metznet-system-configuration?
|
|
|
|
|
(repo metznet-system-configuration-repo
|
|
|
|
|
(default metznet-system))
|
|
|
|
|
(directory metznet-system-configuration-directory
|
|
|
|
|
(default "/etc/system")))
|
|
|
|
|
|
|
|
|
|
(define-public metznet-system-activation
|
|
|
|
|
(match-lambda
|
|
|
|
|
(($ <metznet-system-configuration> repo directory)
|
|
|
|
|
#~(begin
|
|
|
|
|
(use-modules (guix build utils))
|
|
|
|
|
(symlink #$repo #$directory)))))
|
|
|
|
|
|
|
|
|
|
(define-public metznet-system-service-type
|
|
|
|
|
(service-type
|
|
|
|
|
(name 'metznet-system)
|
|
|
|
|
(description "GUIX System service using metznet files")
|
|
|
|
|
(extensions (list
|
|
|
|
|
(service-extension activation-service-type metznet-system-activation)))
|
|
|
|
|
(default-value (metznet-system-configuration))))
|
|
|
|
|
|
|
|
|
|
(define-public nvim-vimtex
|
|
|
|
|
(package
|
|
|
|
|
(name "nvim-vimtex")
|
|
|
|
|