Skip to content
Snippets Groups Projects
Unverified Commit 362bcdb1 authored by Ludovic Courtès's avatar Ludovic Courtès
Browse files

system: Remove custom 'config-file service from "vm-image.tmpl".

This example is broken since commit
99c45877 (wrong file name passed to
'local-file'), and its functionality is superseded by the upcoming
'provenance-service-type'.

* gnu/system/examples/vm-image.tmpl (this-file): Remove.
<services>: Remove 'config-file service.
parent fcbe4f71
No related branches found
No related tags found
No related merge requests found
...@@ -24,11 +24,6 @@ Run '\x1b[1;37minfo guix\x1b[0m' to browse documentation. ...@@ -24,11 +24,6 @@ Run '\x1b[1;37minfo guix\x1b[0m' to browse documentation.
accounts.\x1b[0m accounts.\x1b[0m
")) "))
(define this-file
(local-file (basename (assoc-ref (current-source-location) 'filename))
"config.scm"))
(operating-system (operating-system
(host-name "gnu") (host-name "gnu")
(timezone "Etc/UTC") (timezone "Etc/UTC")
...@@ -73,10 +68,6 @@ root ALL=(ALL) ALL ...@@ -73,10 +68,6 @@ root ALL=(ALL) ALL
(services (services
(append (list (service xfce-desktop-service-type) (append (list (service xfce-desktop-service-type)
;; Copy this file to /etc/config.scm in the OS.
(simple-service 'config-file etc-service-type
`(("config.scm" ,this-file)))
;; Choose SLiM, which is lighter than the default GDM. ;; Choose SLiM, which is lighter than the default GDM.
(service slim-service-type (service slim-service-type
(slim-configuration (slim-configuration
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment