[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Deleting unnecessary services from %desktop-services
From: |
znavko |
Subject: |
Deleting unnecessary services from %desktop-services |
Date: |
Tue, 27 Nov 2018 20:38:03 +0100 (CET) |
Hello, Guix Help! Today I have a time to renew my attempts removing networkmanager, cups, avahi-daemon, ntpd.
(services (cons* ;;(tor-service)
(service postgresql-service-type)
(xfce-desktop-service)
(modify-services %desktop-services
(elogind-service-type
c => (elogind-configuration
(handle-lid-switch 'ignore)))
);;end of moify desktop-srvices
));;end of services
When I try function (remove), I have an error
(services (cons* ;;(tor-service)
(service postgresql-service-type)
(xfce-desktop-service)
(remove (lambda (service)
(eq? (service-kind service) network-manager-service-type))
(modify-services %desktop-services
(elogind-service-type
c => (elogind-configuration
(handle-lid-switch 'ignore)))
);;end of moify desktop-srvices
);end of remove
));;end of services
# guix system reconfigure /etc/config.scm
/etc/config.scm:86:20: error: remove: unbound variable
hint: Did you forget `(use-modules (srfi srfi-1))'?
And when I add it, guix requires module networking, but adding of it gives:
# guix system reconfigure /etc/config.scm
guix system: error: service 'ntpd' requires 'networking', which is not provided by any service
Is it possible to delete these, and how?
Also, how to rescue my system when I will not have a possibility to use network at all. How then use usb-stick with guixsd and reconfigure my system with my previous config?
- Deleting unnecessary services from %desktop-services,
znavko <=