guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

guix system: error: service 'ssh-daemon' requires 'networking', which is


From: Jan Synáček
Subject: guix system: error: service 'ssh-daemon' requires 'networking', which is undefined
Date: Fri, 15 Jul 2016 14:24:21 +0200

Hello,

I'm trying to create a testing vm with sshd inside. My config:

(use-modules (gnu))
(use-modules (gnu services ssh))

(operating-system
  (host-name "guix-vm")
  (timezone "Europe/Prague")
  (locale "en_US.UTF-8")

  (bootloader (grub-configuration (device "/dev/sda")))
  (file-systems (cons (file-system
                        (device "my-root")
                        (title 'label)
                        (mount-point "/")
                        (type "ext4"))
                      %base-file-systems))

  (users (cons (user-account
                (name "jsynacek")
                (group "users")
                (supplementary-groups '("wheel"))
                (home-directory "/home/jsynacek"))
               %base-user-accounts))

  ;;(packages (%base-packages))
  (services (cons* (lsh-service #:port-number 22
                                #:daemonic? #t
                                #:root-login? #t) %base-services)))


$ guix system vm guix-system-cfg.scm
guix system: error: service 'ssh-daemon' requires 'networking', which
is undefined

What am I missing? The error message is extremely unhelpful for
someone who doesn't know what it actually means.

Cheers,
-- 
Jan Synáček



reply via email to

[Prev in Thread] Current Thread [Next in Thread]