help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

service 'dhcpv4-daemon' requires 'networking', which is not provided by


From: znavko
Subject: service 'dhcpv4-daemon' requires 'networking', which is not provided by any service
Date: Fri, 5 Apr 2019 13:27:39 +0200 (CEST)

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?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]