mirror of https://codeberg.org/anemofilia/zero
operating-systems: buer: Add /etc/config.scm as a special file that symlinks to (operating-systems buer) module location
parent
b0cb05691f
commit
c610f2f584
|
@ -90,7 +90,10 @@
|
|||
#|SRFIs|#
|
||||
#|1|# #:use-module (srfi srfi-1)
|
||||
|
||||
#:export (buer))
|
||||
#:export (buer buer.scm))
|
||||
|
||||
(define buer.scm
|
||||
(search-path %load-path (module-filename (current-module))))
|
||||
|
||||
(define buer
|
||||
(operating-system
|
||||
|
@ -301,8 +304,9 @@
|
|||
#|Special file services|#
|
||||
(service special-files-service-type
|
||||
`(("/bin/sh" ,(file-append bash "/bin/bash"))
|
||||
("/usr/bin/env" ,(file-append coreutils "/bin/env"))))
|
||||
(simple-service 'persistent-files-service
|
||||
("/usr/bin/env" ,(file-append coreutils "/bin/env"))
|
||||
("/etc/config.scm" ,buer.scm)))
|
||||
(simple-service 'persistent-files
|
||||
special-files-service-type
|
||||
(map (juxt identity
|
||||
(partial string-append "/gnu/persist/"))
|
||||
|
|
Loading…
Reference in New Issue