[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Garbage Collector

From: Gottfried
Subject: Re: Garbage Collector
Date: Sat, 30 Jul 2022 09:40:42 +0000

Hi, Guixers,

I think I managed to add the proposal of Felix Lechner and to set up my brackets.

(sane-service-type _ => sane-backends))))

I remove one bracket (because the 4. brackets closes "services")



         config => (guix-configuration
           (inherit config)
           (extra-options (list "--gc-keep-derivations=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

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)

   (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")
                     '("wheel" "netdev" "audio" "video")))
       (list (specification->package "nss-certs"))                 
       (list (service mate-desktop-service-type)
             (service enlightenment-desktop-service-type)
                        (service cups-service-type
                                        (web-interface? #t)
                                        (extensions (list cups-filters 
                        (service openssh-service-type)
             (service tor-service-type)
                 (keyboard-layout keyboard-layout))))
       (modify-services %desktop-services
                (sane-service-type _ => sane-backends))))
         config => (guix-configuration
           (inherit config)
           (extra-options (list "--gc-keep-derivations=yes"

       (bootloader grub-efi-bootloader)
       (target "/boot/efi")
       (keyboard-layout keyboard-layout)))
     (list (uuid "51d5cd20-4513-4a02-9e35-df4338eccaa0")))
     (cons* (file-system
              (mount-point "/boot/efi")
              (device (uuid "BB77-FE3B" 'fat32))
              (type "vfat"))
              (mount-point "/")
                (uuid "4fb0ed7c-61ab-45eb-be0b-ff527b320e6d"
              (type "ext4"))


Am 25.07.22 um 17:20 schrieb Felix Lechner:

On Mon, Jul 25, 2022 at 2:52 AM Gottfried <> 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:

   config => (guix-configuration
     (inherit config)
     (extra-options (list "--gc-keep-derivations=yes" "--gc-keep-outputs=yes"))

Kind regards
Felix Lechner

Attachment: OpenPGP_0x61FAF349C9FB7F94.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]