From: Gottfried <gottfried@posteo.de>
To: Felix Lechner <felix.lechner@lease-up.com>, help-guix@gnu.org
Subject: Re: Garbage Collector
Date: Sat, 30 Jul 2022 09:40:42 +0000 [thread overview]
Message-ID: <ac103c96-6def-a295-598c-281de510d094@posteo.de> (raw)
In-Reply-To: <CAFHYt55CTGXytWtndvg+kEum0rn3CO7M3iwJpOLntJinG25zDQ@mail.gmail.com>
[-- Attachment #1.1.1: Type: text/plain, Size: 3648 bytes --]
Hi, Guixers,
I think I managed to add the proposal of Felix Lechner and to set up my
brackets.
Behind:
(sane-service-type _ => sane-backends))))
I remove one bracket (because the 4. brackets closes "services")
and
behind:
(guix-service-type
config => (guix-configuration
(inherit config)
(extra-options (list "--gc-keep-derivations=yes"
"--gc-keep-outputs=yes"))
I add 3 brackets, to have 5 brackets (the 5. bracket closes "services").
This is how I understand it.
Am I right?
kind regards
Gottfried
My confi.scm before changing the brackets.
;; This is an operating system configuration generated
;; by the graphical installer.
(use-modules (gnu))
(use-package-modules cups scanner)
(use-service-modules cups desktop networking ssh xorg)
(operating-system
(locale "de_DE.utf8")
(timezone "Europe/Berlin")
(keyboard-layout (keyboard-layout "de"))
(host-name "Tuxedo")
(users (cons* (user-account
(name "gfp")
(comment "Gfp")
(group "users")
(home-directory "/home/gfp")
(supplementary-groups
'("wheel" "netdev" "audio" "video")))
%base-user-accounts))
(packages
(append
(list (specification->package "nss-certs"))
%base-packages))
(services
(append
(list (service mate-desktop-service-type)
(service enlightenment-desktop-service-type)
(service cups-service-type
(cups-configuration
(web-interface? #t)
(extensions (list cups-filters hplip))))
(service openssh-service-type)
(service tor-service-type)
(set-xorg-configuration
(xorg-configuration
(keyboard-layout keyboard-layout))))
(modify-services %desktop-services
(sane-service-type _ => sane-backends))))
(guix-service-type
config => (guix-configuration
(inherit config)
(extra-options (list "--gc-keep-derivations=yes"
"--gc-keep-outputs=yes"))
(bootloader
(bootloader-configuration
(bootloader grub-efi-bootloader)
(target "/boot/efi")
(keyboard-layout keyboard-layout)))
(swap-devices
(list (uuid "51d5cd20-4513-4a02-9e35-df4338eccaa0")))
(file-systems
(cons* (file-system
(mount-point "/boot/efi")
(device (uuid "BB77-FE3B" 'fat32))
(type "vfat"))
(file-system
(mount-point "/")
(device
(uuid "4fb0ed7c-61ab-45eb-be0b-ff527b320e6d"
'ext4))
(type "ext4"))
%base-file-systems)))
Gottfried
Am 25.07.22 um 17:20 schrieb Felix Lechner:
> Hi,
>
> On Mon, Jul 25, 2022 at 2:52 AM Gottfried <gottfried@posteo.de> wrote:
>>
>> The manual says that it is dangerous to use: "guix gc"
>> because it can delete too much.
>
> I agree that 'guix gc' deletes too much, but it's probably not
> dangerous. You will just see some downloads and builds repeated when
> reconfiguring later.
>
> I believe 'guix gc' deletes items that are not garbage to me (but I am
> new to Guix). Based on friendly advice I received, I currently use
> these settings:
>
> (guix-service-type
> config => (guix-configuration
> (inherit config)
> (extra-options (list "--gc-keep-derivations=yes" "--gc-keep-outputs=yes"))
> ...
>
> Kind regards
> Felix Lechner
[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 3191 bytes --]
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]
next prev parent reply other threads:[~2022-07-30 9:41 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-25 9:51 Garbage Collector Gottfried
2022-07-25 14:57 ` (
2022-07-25 15:20 ` Felix Lechner via
2022-07-28 17:27 ` Gottfried
2022-07-28 17:36 ` Gottfried
2022-07-30 9:40 ` Gottfried [this message]
2022-08-09 20:18 ` Ludovic Courtès
2022-08-10 16:06 ` Garbage Collector - for your Information Gottfried
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=ac103c96-6def-a295-598c-281de510d094@posteo.de \
--to=gottfried@posteo.de \
--cc=felix.lechner@lease-up.com \
--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).