From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id CD5nIPzPVGKwawAAgWs5BA (envelope-from ) for ; Tue, 12 Apr 2022 03:03:56 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id qKQsHfzPVGKlbwEAauVa8A (envelope-from ) for ; Tue, 12 Apr 2022 03:03:56 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 240F29FAA for ; Tue, 12 Apr 2022 03:03:56 +0200 (CEST) Received: from localhost ([::1]:51956 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ne4wk-000661-NX for larch@yhetil.org; Mon, 11 Apr 2022 21:03:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:32814) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ne4da-0002Nj-S2 for help-guix@gnu.org; Mon, 11 Apr 2022 20:44:06 -0400 Received: from mx1.riseup.net ([198.252.153.129]:40244) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ne4dY-0003No-MI for help-guix@gnu.org; Mon, 11 Apr 2022 20:44:06 -0400 Received: from fews2.riseup.net (fews2-pn.riseup.net [10.0.1.84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.riseup.net", Issuer "R3" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 4Kcn6C4kwqzDrs1; Mon, 11 Apr 2022 17:44:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1649724243; bh=kF6+rOoKLzqRZFaJ/YX9sD9qZrj+6yCuQFj00lg+uIM=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=hJ3wVu0gZqRdNWS7K+eeeozaFeFk46ANADr8VALhxJEMurSYZUxOiC/D37x0LKXLL tDjBEnCQnCoaFCXCnH+PxN1BxbZneHFXBkphBrj6ImfvyeGT8gH/3d+vhieRCzyIZP gz2xB0Rufj3muMjb0b4eVx99cDge16j2Lov6yigY= X-Riseup-User-ID: 2EEAFAAF2DC54E73E04D492250BFB838BBC4CCBE7793B41A3688C0716F929BE0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews2.riseup.net (Postfix) with ESMTPSA id 4Kcn6B5ZqFz214K; Mon, 11 Apr 2022 17:44:02 -0700 (PDT) Date: Tue, 12 Apr 2022 02:42:10 +0200 From: raingloom To: Gottfried Subject: Re: guix pull; guix package -u; sudo guix system reconfigure /etc/config.scm Message-ID: <20220412024210.7afe29b1@riseup.net> In-Reply-To: <5c76bf8f-6bb7-0a56-e1b1-71e2a8b4169b@posteo.de> References: <5c76bf8f-6bb7-0a56-e1b1-71e2a8b4169b@posteo.de> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=198.252.153.129; envelope-from=raingloom@riseup.net; helo=mx1.riseup.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: help-guix@gnu.org Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1649725436; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=dhb/nkayGeog3udgLAmTVjIvJTtlxHck6paWgddfOFA=; b=atMqsn/nDBKNyaOzsvJkDLThipsQdiSVsxYJi5jhQ2b34qOuIYG6LoYKKnGu7iCs/BaBh0 LZGC7P+Qrg+ZDzAirAlaQF4GqGsL6KvXzlaeiRXzkmikkVoYCq0ux/SOFvLN6w8IbNgeyF JkGPfB5rLHGXG1IiLhpobQaRvwK3gynCBBVZ62llSHjF7GSfQ1p9y4XJB/2mN/IaCUSzJf SkSsbP4htEHtakclxQSsFjV9Hr9sfFivES1gdQPr9sOSLZYNKHwX4lbX9fWDCTUpKGqxPl DxVGwXHDGSkJV+Z+9krZvZrLIA9/K9ejWUrYF3AxgoaDy3DbQAOhbVUo0+Tu2A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1649725436; a=rsa-sha256; cv=none; b=kIneE3LUM/LvkthnwKQS09MewCKc62Q1mPDIDr+kR/8nPl4w5aadfqKbcUwgTAMDtUsoaz h+6nZ7BTXqV/nrDjLMCXyPr/aw9rKLOJwSk4QbUs9C3hpHvNS+clOsdD6Fzak/F63FxRs4 USKo3fVnUsxu5UdopEUenoV2hwz1VOBQpwpmxS93LhmHWAsX2W6GQUcqA5x2jFVIZw2uZy UWlwyfvtatu8eDRuAhHgC2u7/vx4EnF3ZJnMMA31FuzMLL3X+pOfZ4ZHFjAeFUZfHysyAI 7z0wttGYxnQFvO8z4itl+mtdRlVeJmhIO6Kd5MbQt4ymIA09RU6+IK0l/4yQtQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=riseup.net header.s=squak header.b=hJ3wVu0g; dmarc=pass (policy=none) header.from=riseup.net; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -5.57 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=riseup.net header.s=squak header.b=hJ3wVu0g; dmarc=pass (policy=none) header.from=riseup.net; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 240F29FAA X-Spam-Score: -5.57 X-Migadu-Scanner: scn0.migadu.com X-TUID: oYVNjY/DZurw On Sun, 10 Apr 2022 10:01:59 +0000 Gottfried 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.