unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Chris Marusich <cmmarusich@gmail.com>
To: Raghav Gururajan <rvgn@disroot.org>
Cc: guix-devel@gnu.org, help-guix@gnu.org
Subject: Re: Help with OpenVPN Plugin for Network Manager
Date: Sun, 05 May 2019 20:27:40 -0700	[thread overview]
Message-ID: <87o94gxnwz.fsf@gmail.com> (raw)
In-Reply-To: <1c1f4d25d9213953f0014fd1dd09a4fb@disroot.org> (Raghav Gururajan's message of "Sat, 27 Apr 2019 03:58:58 +0000")

[-- Attachment #1: Type: text/plain, Size: 1052 bytes --]

"Raghav Gururajan" <rvgn@disroot.org> writes:

> Hello Guix!
>
> The "Services" part of my current system config is the following:
>
> (services (cons* (service gnome-desktop-service-type)
>  %desktop-services))
>
> How should I modify the above to edit Network Manager's Configuration
> to include and enable "network-manager-openvpn" plugin?
>
> I tried adding "(service network-manager-service-type
> (network-manager-configuration (vpn-plugins
> network-manager-openvpn)))" but I got an error that the service is
> used more than once.

You need to replace the existing network-manager-service-type with a new
copy that has the configuration you want.  One way to do that is to use
the modify-services form, which is documented in the manual in the
section "Using the Configuration System":

http://guix.info/manual/en/html_node/Using-the-Configuration-System.html

See also the "Service Reference" section:

http://guix.info/manual/en/html_node/Service-Reference.html#Service-Reference

Hope that helps!

-- 
Chris

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

      parent reply	other threads:[~2019-05-06  3:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-27  3:58 Help with OpenVPN Plugin for Network Manager Raghav Gururajan
2019-04-27  7:54 ` Christopher Baines
2019-05-06  3:27 ` Chris Marusich [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=87o94gxnwz.fsf@gmail.com \
    --to=cmmarusich@gmail.com \
    --cc=guix-devel@gnu.org \
    --cc=help-guix@gnu.org \
    --cc=rvgn@disroot.org \
    /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).