unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: raingloom <raingloom@riseup.net>
To: Gottfried <gottfried@posteo.de>
Cc: help-guix@gnu.org
Subject: Re: guix pull; guix package -u; sudo guix system reconfigure /etc/config.scm
Date: Tue, 12 Apr 2022 02:42:10 +0200	[thread overview]
Message-ID: <20220412024210.7afe29b1@riseup.net> (raw)
In-Reply-To: <5c76bf8f-6bb7-0a56-e1b1-71e2a8b4169b@posteo.de>

On Sun, 10 Apr 2022 10:01:59 +0000
Gottfried <gottfried@posteo.de> wrote:

>   Do I have to do a "sudo guix system reconfigure /etc/config.scm"
>   always after the "guix package -u"?
>   Can I do it every month or every second month? when I don't need the
>   latest version of packages?
> 
>   Gottfried
> 
> 
> > I solve the latter by having a very lean system profile, only the
> > bare essentials are installed for the whole system, things like the
> > window manager are only in my user profile. raingloom@riseup.net  
> 
> How did you do that? to create a "very lean system profile"?
> I am not a hacker but a normal Linux user right now.
> 
> Gottfried
> 
> 

Don't add big packages like gnome to the operating-system's packages
field. If you based your system on the desktop template, then it's
probably a part of it.
That's pretty much it, really. GNOME was the biggest problem for me.
Sometimes GDM would cause issues too, so I got rid of that as well.
This might be overkill for your use case.

I can't really write a proper tutorial right now, so here are some
starting points:
* the `filter` function in Guile Scheme
* combine with service-kind to remove services you don't need
* the %desktop-services definition in the Guix source code, or just
  eval it from a Guile REPL and see what's in it

In general, don't put anything in the `packages` field, unless you need
it for system rescue and administration. So, putting rsync there is
fine, you might need it for restoring from a backup. But GNOME is not
fine, it has a lot of dependencies that you probably won't even use and
any one of them could slow down or break your system build.

Caveat emptor: it might not be possible to use GNOME with a display
manager (like GDM, it's the graphical thingy you log in with) unless
it's installed in your system profile. You might have to launch it
manually with something like `dbus-run-session gnome`, this is also how
you would launch Sway.


  reply	other threads:[~2022-04-12  1:03 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-10 10:01 guix pull; guix package -u; sudo guix system reconfigure /etc/config.scm Gottfried
2022-04-12  0:42 ` raingloom [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-04-07 20:40 Gottfried
2022-04-08  2:38 ` raingloom
2022-04-27 21:29   ` Cássio Tavares
2022-04-27 23:18     ` raingloom
2022-04-08  6:50 ` David Lecompte via
2022-04-28 14:15 ` EuAndreh

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220412024210.7afe29b1@riseup.net \
    --to=raingloom@riseup.net \
    --cc=gottfried@posteo.de \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).