Noé Lopez <[email protected]> writes: > MGD <[email protected]> writes: > >> Dear Guix Community, >> >> I hope this message finds you well. I'm currently setting up Guix on my >> Lenovo X220 laptop and would greatly appreciate any guidance or tips for >> optimizing performance on older hardware. >> >> Here are some details about my setup: >> >> - Laptop: Lenovo X220 (Intel i7, 16GB RAM) >> - Window Manager: EXWM >> - Primary Usage: I will primarily be using command-line tools and Emacs, >> with a few graphical applications (such as browsers). >> >> Since this is an older machine, I want to make sure I’m configuring >> things in a way that balances performance with functionality. In >> particular, I was wondering if it’s possible to disable the display >> manager and just log in via tty, bypassing the graphical login screen >> entirely? >> > > Hi MGD, > > That’s definitely possible! > > The graphical login screen you see is gdm-service-type (or > sddm-service-type depending on architecture) from %desktop-services. > > If you don’t want it, you can remove it by adding (delete > gdm-service-type) to your modify-services (line 54). >
To quote the manual:
Again, ‘%desktop-services’ is just a list of service objects. If you
want to remove services from there, you can do so using the procedures
for list filtering (*note (guile)SRFI-1 Filtering and Partitioning::).
For instance, the following expression returns a list that contains all
the services in ‘%desktop-services’ minus the Avahi service:
(remove (lambda (service)
(eq? (service-kind service) avahi-service-type))
%desktop-services)
Alternatively, the ‘modify-services’ macro can be used:
(modify-services %desktop-services
(delete avahi-service-type))
> Otherwise if you want more granular control over your services (since
> you won’t be needing many) you can use %base-services and add the
> services you need by hand.
>
> Lastly, you can look into greetd-service-type if you want a TTY-based
> login manager instead of having to start emacs and exwm by typing the
> command manually.
>
> Hope that answers your question.
>
> Have a nice day,
> Noé
>
>> For context, I’ve posted a link to my current configuration:
>> [https://codeberg.org/mgd/mgd-guix/src/branch/main/config.scm]. Any
>> pointers on how to achieve the above or other performance tips for my
>> setup would be greatly appreciated.
>>
>> Thank you in advance for your help
>>
>> --
>> Kind Regards,
>> MGD
signature.asc
Description: PGP signature
