softwarelibre--- via <[email protected]> writes:
> This happened after I tried reconfiguring my machine. I added:
>
> (modify-services %desktop-services
> (delete gdm-service-type))
> (modify-services %desktop-services
> (sysctl-service-type config =>
> (sysctl-configuration (settings (append
> '(("fs.file-max" . "500000")
>
> ("net.ipv4.ip_forward" . "1")
>
> ("fs.inotify.max_user_watches" . "524288"))
>
> %default-sysctl-settings)))))
> To my desktop home configuration. But. After some time the command exits with
> a message that's not very helpful:
By calling modify-services twice, you are inadvertently duplicating the list of
services from %desktop-services. What if you try instead to put all the
modifications you require in one such form?
#+begin_src
(modify-services %base-services
(delete gdm-service-type)
(sysctl-service-type config => ...
))
#+end_src
See the example under ’System Services’ in the manual section ’Using the
Configuration System’ for more clarity.
Cheers.
Irfan