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|#
|
#|SRFIs|#
|
||||||
#|1|# #:use-module (srfi srfi-1)
|
#|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
|
(define buer
|
||||||
(operating-system
|
(operating-system
|
||||||
|
@ -301,8 +304,9 @@
|
||||||
#|Special file services|#
|
#|Special file services|#
|
||||||
(service special-files-service-type
|
(service special-files-service-type
|
||||||
`(("/bin/sh" ,(file-append bash "/bin/bash"))
|
`(("/bin/sh" ,(file-append bash "/bin/bash"))
|
||||||
("/usr/bin/env" ,(file-append coreutils "/bin/env"))))
|
("/usr/bin/env" ,(file-append coreutils "/bin/env"))
|
||||||
(simple-service 'persistent-files-service
|
("/etc/config.scm" ,buer.scm)))
|
||||||
|
(simple-service 'persistent-files
|
||||||
special-files-service-type
|
special-files-service-type
|
||||||
(map (juxt identity
|
(map (juxt identity
|
||||||
(partial string-append "/gnu/persist/"))
|
(partial string-append "/gnu/persist/"))
|
||||||
|
|
Loading…
Reference in New Issue