unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* service 'dhcpv4-daemon' requires 'networking', which is not provided by any service
@ 2019-04-05 11:27 znavko
  2019-04-05 16:43 ` Ricardo Wurmus
  0 siblings, 1 reply; 5+ messages in thread
From: znavko @ 2019-04-05 11:27 UTC (permalink / raw)
  To: Help Guix

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

Hello! Today I had a time to configure guix. I've deleted network-manager-service-type for to use wpa_supplicant + dhcp, but guix gives the error:

# guix system reconfigure /etc/config.scm
guix system: error: service 'dhcpv4-daemon' requires 'networking', which is not provided by any service

# cat /etc/config.scm
...
  (services (cons*  
                    ;;(service postgresql-service-type)
                    (service xfce-desktop-service-type)

                    (service dhcpd-service-type
                      (dhcpd-configuration
                        (config-file (local-file "/etc/dhcpcd.conf"))
                        (interfaces '("wlp2s0"))))


                    (modify-services      
                      (remove (lambda (service)
                        (eq? (service-kind service) ntp-service-type))
                        (remove (lambda (service)
                          (eq? (service-kind service) avahi-service-type))

                          (remove (lambda (service)
                            (eq? (service-kind service) network-manager-service-type))

                            ;;(modify-services  
                              (modify-services  
                                (modify-services %desktop-services
                                  (slim-service-type config =>
                                    (slim-configuration
                                      (xorg-configuration
                                        (xorg-configuration
                                          (extra-config
                                                    
'("Section \"InputClass\"
        Identifier \"touchpad\"
        Driver \"libinput\"
        MatchIsTouchpad \"on\"
        Option \"Tapping\" \"on\"
EndSection")
                                          )))))
                                )  ;end of modify-services 4th

                                (wpa-supplicant-service-type config =>
                                  (wpa-supplicant-configuration
                                    (interface "wlp2s0")
                                    (config-file "/etc/wpa_supplicant/wpa_supplicant.conf")))

                              )  ;end of modify-services 3rd

                            ;;)  ;end of modify-services 2nd

                          )  ;end of removenetwork-manager-configuration
                        )  ;end of remove avahi
                      )  ;end of remove2 ntp
                      (elogind-service-type
                        c => (elogind-configuration (handle-lid-switch 'ignore)))
                    );;end of modify-services 1st desktop-services
  ));;end of services
...

I am an anti-fan of NetworkManager. I need wpa_supplicant with dhcp, I try this config with dhcpcd. But it needs networking service. Please, how to add networking service without adding network-manager-service-type?

[-- Attachment #2: Type: text/html, Size: 8929 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-04-05 19:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-05 11:27 service 'dhcpv4-daemon' requires 'networking', which is not provided by any service znavko
2019-04-05 16:43 ` Ricardo Wurmus
2019-04-05 18:34   ` znavko
2019-04-05 18:42     ` znavko
2019-04-05 18:45     ` Ricardo Wurmus

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).