Subject: Re: [bug#32785] [PATCH] services: wpa-supplicant: Extend to support configuration parameters.

From: Marius Bakke <[email-masked]>
Date: Thu, 20 Sep 2018 18:12:42 +0200

Marius Bakke <[email-masked]> writes:

> This allows using WPA Supplicant "standalone" without an additional
> network manager.  The default configuration is unchanged.
>
> * gnu/services/networking.scm (<wpa-supplicant-configuration>): New record type.
> (wpa-supplicant-shepherd-service): Pass configuration records to the daemon.
> (wpa-supplicant-service-type): Adjust accordingly.
> * doc/guix.texi (Networking Services): Document the new service type.

A bit of background, since I forgot to add --notes: I have used this
patch for a long time, and decided to submit it since there was a
question about it on help-guix.

I have not tested the standalone configuration with the Guix DHCP client
service since I use a custom one.  Though I expect that to work fine.
Feedback appreciated!

[...]

> +
> +            <wpa-supplicant-configuration>
> +            wpa-supplicant-configuration
> +            wpa-supplicant-configuration?
> +            wpa-supplicant-configuration-wpa-supplicant
> +            wpa-supplicant-configuration-pid-file
> +            wpa-supplicant-configuration-dbus?
> +            wpa-supplicant-configuration-interface
> +            wpa-supplicant-configuration-config-file
> +            wpa-supplicant-configuration-custom-arguments
                                            ^^^^^^^^^
This is called 'extra-options' elsewhere and fixed locally.