Browse Source

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

This example is broken since commit
99c45877a9 (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.
gn-latest-20200428
Ludovic Courtès 9 months ago
parent
commit
362bcdb1b0
No known key found for this signature in database GPG Key ID: 90B11993D9AEBB5
1 changed files with 0 additions and 9 deletions
  1. +0
    -9
      gnu/system/examples/vm-image.tmpl

+ 0
- 9
gnu/system/examples/vm-image.tmpl View File

@@ -24,11 +24,6 @@ Run '\x1b[1;37minfo guix\x1b[0m' to browse documentation.
accounts.\x1b[0m
"))

(define this-file
(local-file (basename (assoc-ref (current-source-location) 'filename))
"config.scm"))


(operating-system
(host-name "gnu")
(timezone "Etc/UTC")
@@ -73,10 +68,6 @@ root ALL=(ALL) ALL
(services
(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.
(service slim-service-type
(slim-configuration


Loading…
Cancel
Save