machine: ssh: Do not import the host (guix config).

* gnu/machine/ssh.scm (machine-boot-parameters): Use 'make-config.scm'
for (guix config).
This commit is contained in:
Ludovic Courtès 2020-11-09 23:24:33 +01:00
parent d754757628
commit 70ffa8af1e
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -37,6 +37,7 @@ (define-module (gnu machine ssh)
#:use-module (guix ssh)
#:use-module (guix store)
#:use-module (guix utils)
#:use-module ((guix self) #:select (make-config.scm))
#:use-module (gcrypt pk-crypto)
#:use-module (ice-9 format)
#:use-module (ice-9 match)
@ -353,7 +354,8 @@ (define bootable-kernel-arguments
(define remote-exp
(with-extensions (list guile-gcrypt)
(with-imported-modules (source-module-closure '((guix config)
(with-imported-modules (source-module-closure
`(((guix config) => ,(make-config.scm))
(guix profiles)))
#~(begin
(use-modules (guix config)