unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Tomáš Čech" <sleep_walker@gnu.org>
To: ng0 <ngillmann@runbox.com>
Cc: guix-devel@gnu.org
Subject: Re: openssh-service
Date: Mon, 07 Nov 2016 23:28:47 +0100	[thread overview]
Message-ID: <874m3i6i1s.wl-sleep_walker@gnu.org> (raw)
In-Reply-To: <87k2dpeazl.fsf@we.make.ritual.n0.is>

On Mon, 03 Oct 2016 16:57:34 +0200,
ng0 wrote:
> 
> ng0 <ngillmann@runbox.com> writes:
> 
> > Can someone explain to the list how the example of the openssh-service
> > is supposed to fit into a default users config based on the regular
> > desktop.scm? So far I think this is a bad example but I have no idea how
> > to improve it.
> >
> > You will typically have
> >
> > (services (cons* (gnome-desktop-service)
> >                  (xfce-desktop-service)
> >                  %desktop-services))
> 
> Damn, the machine I tested this on I added one pair of parens which
> shouldn't have been there.
> 
>  (services (cons* (gnome-desktop-service)
>                   (xfce-desktop-service)
>                   (service
>                    openssh-service-type
>                    (openssh-configuration
>                    (x11-forwarding? #t)
>                    (permit-root-login 'without-password)))
>                   %desktop-services))
> 
> works. The error messages could be more intuitive :)
> 
> > When you do it by the book, the openssh-service will not work.
> >
> > Thanks to whoever worked on and added openssh by the way, it's a good
> > addition.
> >

It seems that originally there should have been `openssh-service' but
is not present in 86d8f6d3efb8300a3354735cbf06be6c01e23243, just
exported in gnu/services/ssh.scm:40.

So I guess there are now two possible choices:

a] remove export
b] provide openssh-service

Best regards,

S_W

      reply	other threads:[~2016-11-07 22:28 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-03 14:30 openssh-service ng0
2016-10-03 14:57 ` openssh-service ng0
2016-11-07 22:28   ` Tomáš Čech [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874m3i6i1s.wl-sleep_walker@gnu.org \
    --to=sleep_walker@gnu.org \
    --cc=guix-devel@gnu.org \
    --cc=ngillmann@runbox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).