~ruther/guix-local

87f40011462eea9142de9853377b2cee3c0df785 — Ludovic Courtès 10 years ago af4c3fd
services: wicd: Add Wicd to the system profile.

* gnu/services/networking.scm (wicd-service-type): Extend
  PROFILE-SERVICE-TYPE.
  (wicd-service): Mention it in docstring.
* doc/guix.texi (Networking Services): Update documentation
  accordingly.
* gnu/system/examples/desktop.tmpl (packages): Remove WICD.
3 files changed, 20 insertions(+), 6 deletions(-)

M doc/guix.texi
M gnu/services/networking.scm
M gnu/system/examples/desktop.tmpl
M doc/guix.texi => doc/guix.texi +8 -2
@@ 6447,9 6447,15 @@ gateway.
@end deffn

@cindex wicd
@cindex network management
@deffn {Scheme Procedure} wicd-service [#:wicd @var{wicd}]
Return a service that runs @url{https://launchpad.net/wicd,Wicd}, a
network manager that aims to simplify wired and wireless networking.
Return a service that runs @url{https://launchpad.net/wicd,Wicd}, a network
management daemon that aims to simplify wired and wireless networking.

This service adds the @var{wicd} package to the global profile, providing
several commands to interact with the daemon and configure networking:
@command{wicd-client}, a graphical user interface, and the @command{wicd-cli}
and @command{wicd-curses} user interfaces.
@end deffn

@deffn {Scheme Procedure} ntp-service [#:ntp @var{ntp}] @

M gnu/services/networking.scm => gnu/services/networking.scm +10 -2
@@ 483,11 483,19 @@ configuration file."
                       (service-extension dbus-root-service-type
                                          list)
                       (service-extension activation-service-type
                                          (const %wicd-activation))))))
                                          (const %wicd-activation))

                       ;; Add Wicd to the global profile.
                       (service-extension profile-service-type list)))))

(define* (wicd-service #:key (wicd wicd))
  "Return a service that runs @url{https://launchpad.net/wicd,Wicd}, a network
manager that aims to simplify wired and wireless networking."
management daemon that aims to simplify wired and wireless networking.

This service adds the @var{wicd} package to the global profile, providing
several commands to interact with the daemon and configure networking:
@command{wicd-client}, a graphical user interface, and the @command{wicd-cli}
and @command{wicd-curses} user interfaces."
  (service wicd-service-type wicd))

;;; networking.scm ends here

M gnu/system/examples/desktop.tmpl => gnu/system/examples/desktop.tmpl +2 -2
@@ 3,7 3,7 @@

(use-modules (gnu) (gnu system nss))
(use-service-modules desktop)
(use-package-modules xfce ratpoison wicd avahi xorg certs)
(use-package-modules xfce ratpoison avahi xorg certs)

(operating-system
  (host-name "antelope")


@@ 40,7 40,7 @@
  ;; Add Xfce and Ratpoison; that allows us to choose
  ;; sessions using either of these at the log-in screen.
  (packages (cons* xfce ratpoison    ;desktop environments
                   xterm wicd avahi  ;useful tools
                   xterm avahi       ;useful tools
                   nss-certs         ;for HTTPS access
                   %base-packages))